Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

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: