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

replication: Add GTID_TAGGED_LOG_EVENT #947

Merged
merged 1 commit into from
Nov 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions replication/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ const (
BINLOG_MARIADB_FL_DDL /*32 - FL_DDL is set for event group containing DDL*/
)

// See `Log_event_type` in binlog_event.h
// https://github.com/mysql/mysql-server/blob/trunk/libs/mysql/binlog/event/binlog_event.h

type EventType byte

const (
Expand Down Expand Up @@ -93,6 +96,7 @@ const (
PARTIAL_UPDATE_ROWS_EVENT
TRANSACTION_PAYLOAD_EVENT
HEARTBEAT_LOG_EVENT_V2
GTID_TAGGED_LOG_EVENT
)

const (
Expand Down Expand Up @@ -202,6 +206,8 @@ func (e EventType) String() string {
return "TransactionPayloadEvent"
case HEARTBEAT_LOG_EVENT_V2:
return "HeartbeatLogEventV2"
case GTID_TAGGED_LOG_EVENT:
return "Gtid_tagged_log_event"
case MARIADB_START_ENCRYPTION_EVENT:
return "MariadbStartEncryptionEvent"
case MARIADB_QUERY_COMPRESSED_EVENT:
Expand Down