Skip to content

Commit 1c512b5

Browse files
author
Lior Sion
committed
re-adding gtid related events
1 parent 5a2418f commit 1c512b5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pymysqlreplication/packet.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ class BinLogPacketWrapper(object):
4242
constants.WRITE_ROWS_EVENT_V2: row_event.WriteRowsEvent,
4343
constants.DELETE_ROWS_EVENT_V2: row_event.DeleteRowsEvent,
4444
constants.TABLE_MAP_EVENT: row_event.TableMapEvent,
45+
#5.6 GTID enabled replication events
46+
constants.INTVAR_EVENT: event.NotImplementedEvent,
47+
constants.GTID_LOG_EVENT: event.NotImplementedEvent,
48+
constants.ANONYMOUS_GTID_LOG_EVENT: event.NotImplementedEvent,
49+
constants.PREVIOUS_GTIDS_LOG_EVENT: event.NotImplementedEvent
50+
4551
}
4652

4753
def __init__(self, from_packet, table_map, ctl_connection):

0 commit comments

Comments
 (0)