diff options
author | Kristian Nielsen <knielsen@knielsen-hq.org> | 2015-07-19 09:28:22 +0200 |
---|---|---|
committer | Kristian Nielsen <knielsen@knielsen-hq.org> | 2015-07-19 09:28:22 +0200 |
commit | 44c4b2304b0d8dd7172b7470e29139057837bae5 (patch) | |
tree | bd6f16c7170ea8a6bf428f80342c005b946ee680 /sql/rpl_gtid.cc | |
parent | b89de2b2ce84f41351a66d5832c3967b80f9dc31 (diff) | |
download | mariadb-git-44c4b2304b0d8dd7172b7470e29139057837bae5.tar.gz |
MDEV-8496: gtid_ignore_duplicates treats gtid_seq_no as 32-bit
--gtid-ignore-duplicates was comparing sequence numbers as 32-bit, so
after 2**32 transactions things would start to fail.
Diffstat (limited to 'sql/rpl_gtid.cc')
-rw-r--r-- | sql/rpl_gtid.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/rpl_gtid.cc b/sql/rpl_gtid.cc index 6e67a75b989..709cb284df5 100644 --- a/sql/rpl_gtid.cc +++ b/sql/rpl_gtid.cc @@ -117,7 +117,7 @@ int rpl_slave_state::check_duplicate_gtid(rpl_gtid *gtid, rpl_group_info *rgi) { uint32 domain_id= gtid->domain_id; - uint32 seq_no= gtid->seq_no; + uint64 seq_no= gtid->seq_no; rpl_slave_state::element *elem; int res; bool did_enter_cond= false; |