Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/remove column schema #477

4 changes: 1 addition & 3 deletions pymysqlreplication/binlogstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,12 +565,10 @@ def __check_optional_meta_data(self):
logging.log(
logging.WARN,
"""
Setting The Variable Value BINLOG_ROW_METADATA = FULL
Setting The Variable Value BINLOG_ROW_METADATA = FULL, BINLOG_ROW_IMAGE = FULL.
By Applying this, provide properly mapped column information on UPDATE,DELETE,INSERT.
""",
)
else:
self.__optional_meta_data = True

def fetchone(self):
while True:
Expand Down
1 change: 0 additions & 1 deletion pymysqlreplication/row_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ def __init__(self, from_packet, event_size, table_map, ctl_connection, **kwargs)
self.nbd_info_length, self.nbd_info_format = struct.unpack(
"<BB", self.packet.read(2)
)

self.nbd_info = self.packet.read(self.nbd_info_length - 2)
# partition information
elif self.extra_data_type == 1:
Expand Down