Skip to content

Commit cf49402

Browse files
committed
remove bool conversion
as discussed in julien-duponchelle#16
1 parent 836934e commit cf49402

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pymysqlreplication/row_event.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ def _read_column_data(self, null_bitmap):
6262
values[name] = struct.unpack("<B", self.packet.read(1))[0]
6363
else:
6464
values[name] = struct.unpack("<b", self.packet.read(1))[0]
65-
66-
if column.type_is_bool:
67-
values[name] = bool(values[name])
6865
elif column.type == FIELD_TYPE.SHORT:
6966
if unsigned:
7067
values[name] = struct.unpack("<H", self.packet.read(2))[0]

0 commit comments

Comments
 (0)