diff options
author | unknown <knielsen@knielsen-hq.org> | 2013-06-20 09:04:44 +0200 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2013-06-20 09:04:44 +0200 |
commit | 03fb90f3a770bceca743c26533af4d99c8fa9549 (patch) | |
tree | edc36b9bc70dc7b17569cd379bd17963d339d80e /sql/rpl_gtid.h | |
parent | 35360ec452bbd5b7f4068859f524e98641bbbf50 (diff) | |
download | mariadb-git-03fb90f3a770bceca743c26533af4d99c8fa9549.tar.gz |
MDEV-4686: Temporary variable for sub_id is 32-bit, should be 64-bit
Fix wrong type for sub_id, which would cause overflow grief on
long-running server. Also some related renames for consistency.
Diffstat (limited to 'sql/rpl_gtid.h')
-rw-r--r-- | sql/rpl_gtid.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/rpl_gtid.h b/sql/rpl_gtid.h index 4d5302020bf..1a94ee76eca 100644 --- a/sql/rpl_gtid.h +++ b/sql/rpl_gtid.h @@ -92,7 +92,7 @@ struct rpl_slave_state int truncate_state_table(THD *thd); int record_gtid(THD *thd, const rpl_gtid *gtid, uint64 sub_id, bool in_transaction, bool in_statement); - uint64 next_subid(uint32 domain_id); + uint64 next_sub_id(uint32 domain_id); int iterate(int (*cb)(rpl_gtid *, void *), void *data, rpl_gtid *extra_gtids, uint32 num_extra); int tostring(String *dest, rpl_gtid *extra_gtids, uint32 num_extra); |