We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fecc4a6 commit dbfe6d9Copy full SHA for dbfe6d9
pymysql/connections.py
@@ -897,15 +897,13 @@ def _read_rowdata_packet(self):
897
898
row = []
899
for field in self.fields:
900
+ data = packet.read_length_coded_string()
901
+ converted = None
902
if field.type_code in self.connection.decoders:
903
converter = self.connection.decoders[field.type_code]
-
904
if DEBUG: print "DEBUG: field=%s, converter=%s" % (field, converter)
- data = packet.read_length_coded_string()
905
- converted = None
906
if data != None:
907
converted = converter(self.connection, field, data)
908
909
row.append(converted)
910
911
rows.append(tuple(row))
0 commit comments