Skip to content

Commit 2c9e78d

Browse files
authored
Update connections.py
Added New Field type char , set ,enums,Binary
1 parent 9fd238b commit 2c9e78d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/MySQLdb/connections.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,10 @@ class object, used to create cursors (keyword only)
222222
FIELD_TYPE.MEDIUM_BLOB,
223223
FIELD_TYPE.LONG_BLOB,
224224
FIELD_TYPE.BLOB,
225+
FIELD_TYPE.SET,
226+
FIELD_TYPE.ENUMS,
227+
FIELD_TYPE.BINARY,
228+
FIELD_TYPE.CHAR
225229
):
226230
self.converter[t] = _bytes_or_str
227231
# Unlike other string/blob types, JSON is always text.

0 commit comments

Comments
 (0)