File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,9 @@ const (
4848 BINLOG_MARIADB_FL_DDL /*32 - FL_DDL is set for event group containing DDL*/
4949)
5050
51+ // See `Log_event_type` in binlog_event.h
52+ // https://github.com/mysql/mysql-server/blob/trunk/libs/mysql/binlog/event/binlog_event.h
53+
5154type EventType byte
5255
5356const (
@@ -93,6 +96,7 @@ const (
9396 PARTIAL_UPDATE_ROWS_EVENT
9497 TRANSACTION_PAYLOAD_EVENT
9598 HEARTBEAT_LOG_EVENT_V2
99+ GTID_TAGGED_LOG_EVENT
96100)
97101
98102const (
@@ -202,6 +206,8 @@ func (e EventType) String() string {
202206 return "TransactionPayloadEvent"
203207 case HEARTBEAT_LOG_EVENT_V2 :
204208 return "HeartbeatLogEventV2"
209+ case GTID_TAGGED_LOG_EVENT :
210+ return "Gtid_tagged_log_event"
205211 case MARIADB_START_ENCRYPTION_EVENT :
206212 return "MariadbStartEncryptionEvent"
207213 case MARIADB_QUERY_COMPRESSED_EVENT :
You can’t perform that action at this time.
0 commit comments