1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-15477: SESSION_SYSVARS_TRACKER does not track last_gtid

register changes of last_gtid
This commit is contained in:
Oleksandr Byelkin
2018-03-09 14:39:40 +01:00
parent 73de63e898
commit 517d718201
9 changed files with 92 additions and 28 deletions

View File

@ -4255,7 +4255,13 @@ public:
The GTID assigned to the last commit. If no GTID was assigned to any commit
so far, this is indicated by last_commit_gtid.seq_no == 0.
*/
rpl_gtid last_commit_gtid;
private:
rpl_gtid m_last_commit_gtid;
public:
rpl_gtid get_last_commit_gtid() { return m_last_commit_gtid; }
void set_last_commit_gtid(rpl_gtid &gtid);
LF_PINS *tdc_hash_pins;
LF_PINS *xid_hash_pins;