Skip to content

Conversation

WangXiangUSTC
Copy link
Contributor

add gtid set information in query event

Schema []byte
Query []byte

// in fact QueryEvent dosen't have the GTIDSet information, just for beneficial to use
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is the benefit?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As Gset in XID Event, Query Event ( DDL) don't have XID Event, so we need Gset to manage save point by ourself

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when do you set GTIDSet to the Query event?

@IANTHEREAL
Copy link
Collaborator

LGTM

Copy link
Collaborator

@siddontang siddontang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@siddontang siddontang merged commit aaac9c1 into go-mysql-org:master Aug 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants