File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,9 @@ const (
48
48
BINLOG_MARIADB_FL_DDL /*32 - FL_DDL is set for event group containing DDL*/
49
49
)
50
50
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
+
51
54
type EventType byte
52
55
53
56
const (
@@ -93,6 +96,7 @@ const (
93
96
PARTIAL_UPDATE_ROWS_EVENT
94
97
TRANSACTION_PAYLOAD_EVENT
95
98
HEARTBEAT_LOG_EVENT_V2
99
+ GTID_TAGGED_LOG_EVENT
96
100
)
97
101
98
102
const (
@@ -202,6 +206,8 @@ func (e EventType) String() string {
202
206
return "TransactionPayloadEvent"
203
207
case HEARTBEAT_LOG_EVENT_V2 :
204
208
return "HeartbeatLogEventV2"
209
+ case GTID_TAGGED_LOG_EVENT :
210
+ return "Gtid_tagged_log_event"
205
211
case MARIADB_START_ENCRYPTION_EVENT :
206
212
return "MariadbStartEncryptionEvent"
207
213
case MARIADB_QUERY_COMPRESSED_EVENT :
You can’t perform that action at this time.
0 commit comments