fix dumb name error in mysql introduced by 3c58962f468c

authorSylvain Thénault <sylvain.thenault@logilab.fr>
changesetecc3ef56e4ba
branchstable
phasepublic
hiddenno
parent revision#3c58962f468c add TYPE_CONVERTERS dict on advanced helpers defining conversions callback from Python SQL types (closes #132587)
child revision#a348916ad8a7 new COUNTDISTINCT function instead of using extra boolean argument to COUNT. Closes #133314, #90061fdcae82 restore boolean_value backward compat
files modified by this revision
mysql.py
# HG changeset patch
# User Sylvain Thénault <sylvain.thenault@logilab.fr>
# Date 1366274888 -7200
# Thu Apr 18 10:48:08 2013 +0200
# Branch stable
# Node ID ecc3ef56e4ba2d2a81bbb25bda97fac8aa374cde
# Parent 3c58962f468c7df96152967702ac2946891c5612
fix dumb name error in mysql introduced by 3c58962f468c

diff --git a/mysql.py b/mysql.py
@@ -142,11 +142,10 @@
1      TYPE_MAPPING['Bytes'] = 'longblob'
2      # don't use timestamp which is automatically updated on row update
3      TYPE_MAPPING['Datetime'] = 'datetime'
4 
5      TYPE_CONVERTERS = db._GenericAdvFuncHelper.TYPE_CONVERTERS.copy()
6 -    TYPE_CONVERTERS['Boolean'] = mysql_convert_boolean
7 
8      def mycmd(self, cmd, dbhost, dbport, dbuser):
9          cmd = [cmd]
10          # XXX compress
11          dbhost = dbhost or self.dbhost