Diff of /trunk/MySQLdb/MySQLdb/converters.py [r455] .. [r456]  Maximize  Restore

  Switch to side-by-side view

--- a/trunk/MySQLdb/MySQLdb/converters.py
+++ b/trunk/MySQLdb/MySQLdb/converters.py
@@ -143,17 +143,18 @@
     FIELD_TYPE.TIME: TimeDelta_or_None,
     FIELD_TYPE.DATE: Date_or_None,
     FIELD_TYPE.BLOB: [
-        (FLAG.BINARY, char_array),
-        (None, None),
-    ],
+        (FLAG.BINARY, str),
+        ],
     FIELD_TYPE.STRING: [
+        (FLAG.BINARY, str),
         (FLAG.SET, Str2Set),
-        (None, None),
-    ],
+        ],
     FIELD_TYPE.VAR_STRING: [
-        (FLAG.SET, Str2Set),
-        (None, None),
-    ],
+        (FLAG.BINARY, str),
+        ],
+    FIELD_TYPE.VARCHAR: [
+        (FLAG.BINARY, str),
+        ],
     }
 
 try:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks