Skip to content

Extending binlog events list #461

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

Merged
merged 1 commit into from
Jan 20, 2020
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
11 changes: 10 additions & 1 deletion replication/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ const (
GTID_EVENT
ANONYMOUS_GTID_EVENT
PREVIOUS_GTIDS_EVENT
TRANSACTION_CONTEXT_EVENT
VIEW_CHANGE_EVENT
XA_PREPARE_LOG_EVENT
)

const (
Expand Down Expand Up @@ -179,7 +182,13 @@ func (e EventType) String() string {
return "MariadbGTIDEvent"
case MARIADB_GTID_LIST_EVENT:
return "MariadbGTIDListEvent"

case TRANSACTION_CONTEXT_EVENT:
return "TransactionContextEvent"
case VIEW_CHANGE_EVENT:
return "ViewChangeEvent"
case XA_PREPARE_LOG_EVENT:
return "XAPrepareLogEvent"

default:
return "UnknownEvent"
}
Expand Down