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 92d3e66 commit f6f4139Copy full SHA for f6f4139
pymysqlreplication/event.py
@@ -62,7 +62,7 @@ def __init__(self, from_packet, event_size, table_map, ctl_connection, **kwargs)
62
self.commit_flag = struct.unpack("!B", self.packet.read(1))[0] == 1
63
self.sid = self.packet.read(16)
64
self.gno = struct.unpack('<Q', self.packet.read(8))[0]
65
- self.lt_type = byte2int(self.packet.read(1))
+ self.lt_type = self.packet.read(1)[0]
66
67
if self.mysql_version >= (5, 7):
68
self.last_committed = struct.unpack('<Q', self.packet.read(8))[0]
0 commit comments