Skip to content

Commit db88361

Browse files
committed
Merge pull request julien-duponchelle#65 from lxyu/master
remove bool conversion
2 parents 3fcdde6 + cf49402 commit db88361

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)