Skip to content

Commit d8c7417

Browse files
author
Jonah George
committed
Merge pull request go-mysql-org#1 in CDC/library_siddontang-go-mysql from more_patch to master
* commit '508a49d838caa77b4144249ae3cee11c6d06ac7b': Fix crash
2 parents 41e5f10 + 508a49d commit d8c7417

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)