Skip to content

Commit 508a49d

Browse files
author
Ian Zapolsky
committed
Fix crash
1 parent 41e5f10 commit 508a49d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mysql/mariadb_gtid.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func (gtid *MariadbGTID) forward(newer *MariadbGTID) error {
9292
| mysqld-bin.000001 | 2184 | Xid | 112 | 2215 | COMMIT xid=116 |
9393
| mysqld-bin.000001 | 2215 | Gtid | 111 | 2257 | BEGIN GTID 0-111-6 |
9494
*/
95-
if newer.SequenceNumber <= gtid.SequenceNumber {
95+
if newer.SequenceNumber < gtid.SequenceNumber {
9696
log.Warnf("out of order binlog appears with gtid %s vs current position gtid %s", newer, gtid)
9797
}
9898

0 commit comments

Comments
 (0)