Re: [Maria-developers] [Commits] dc3d6c9edb3: MDEV-15477: SESSION_SYSVARS_TRACKER does not track last_gtid

9 Mar
2018
9 Mar
'18
7:19 p.m.
Hi, Oleksandr! On Mar 09, Oleksandr Byelkin wrote:
Why "mixed or statement"?
No, please. You svar will always be Sys_last_gtid. There is no need to search for it on every write_gtid_event(), under a mutex. See in sys_vars.cc around Sys_autocommit how to do it easier. Also, perhaps it'd be safer to rename last_commit_gtid to m_last_commit_gtid, make it private and provide a setter and a getter. The setter will update the tracker. I'll make sure that last_commit_gtid is not changed anywhere else bypassing the tracker. Regards, Sergei Chief Architect MariaDB and security@mariadb.org
2579
Age (days ago)
2579
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sergei Golubchik