Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
Signed-off-by: lance6716 <[email protected]>
  • Loading branch information
lance6716 committed Mar 30, 2022
1 parent 9357dae commit 9669072
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dm/relay/local_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,8 @@ func (r *BinlogReader) parseFile(
switch e.Event.(type) {
// Only replace transaction event
// Other events such as FormatDescriptionEvent, RotateEvent, etc. should be the same as before
case *replication.RowsEvent, *replication.QueryEvent, *replication.GTIDEvent, *replication.XIDEvent, *replication.TableMapEvent:
case *replication.RowsEvent, *replication.QueryEvent, *replication.GTIDEvent,
*replication.MariadbGTIDEvent, *replication.XIDEvent, *replication.TableMapEvent:
// replace with heartbeat event
state.lastSkipGTIDHeader = e.Header
default:
Expand Down

0 comments on commit 9669072

Please sign in to comment.