Skip to content

Commit 28d3be8

Browse files
committed
fixup
1 parent b7b8f38 commit 28d3be8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

replication/event.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ func (e *GTIDEvent) Dump(w io.Writer) {
517517
if e.Tag != "" {
518518
fmt.Fprintf(w, "GTID_NEXT: %s:%s:%d\n", u.String(), e.Tag, e.GNO)
519519
} else {
520-
fmt.Fprintf(w, "GTID_NEXT: %s:%s%d\n", u.String(), e.GNO)
520+
fmt.Fprintf(w, "GTID_NEXT: %s:%d\n", u.String(), e.GNO)
521521
}
522522
fmt.Fprintf(w, "LAST_COMMITTED: %d\n", e.LastCommitted)
523523
fmt.Fprintf(w, "SEQUENCE_NUMBER: %d\n", e.SequenceNumber)
@@ -670,7 +670,7 @@ func (e *GtidTaggedLogEvent) Decode(data []byte) error {
670670
if v, ok := f.Type.(serialization.FieldIntVar); ok {
671671
e.LastCommitted = v.Value
672672
} else {
673-
return errors.New("failed to get last_comitted field")
673+
return errors.New("failed to get last_committed field")
674674
}
675675

676676
f, err = e.msg.GetFieldByName("sequence_number")

0 commit comments

Comments
 (0)