From 44c4b2304b0d8dd7172b7470e29139057837bae5 Mon Sep 17 00:00:00 2001 From: Kristian Nielsen Date: Sun, 19 Jul 2015 09:28:22 +0200 Subject: 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. --- sql/rpl_gtid.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql') 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; -- cgit v1.2.1