We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcc447b commit 2e439b6Copy full SHA for 2e439b6
pymysqlreplication/row_event.py
@@ -63,7 +63,7 @@ def __init__(self, from_packet, event_size, table_map, ctl_connection, **kwargs)
63
64
# ndb information
65
if self.extra_data_type == 0:
66
- self.nbd_info_length, self.nbd_info_format = struct.unpack('<BB', self.packet.read(1))
+ self.nbd_info_length, self.nbd_info_format = struct.unpack('<BB', self.packet.read(2))
67
self.nbd_info = self.packet.read(self.nbd_info_length - 2)
68
# partition information
69
elif self.extra_data_type == 1:
0 commit comments