MySQL 8.0.39
Source Code Documentation
|
This class tracks the last used GTID per session. More...
#include <rpl_context.h>
Public Member Functions | |
Last_used_gtid_tracker_ctx () | |
virtual | ~Last_used_gtid_tracker_ctx () |
void | set_last_used_gtid (const Gtid >id) |
Set the last used GTID the session. More... | |
void | get_last_used_gtid (Gtid >id) |
Get the last used GTID the session. More... | |
Private Attributes | |
std::unique_ptr< Gtid > | m_last_used_gtid |
This class tracks the last used GTID per session.
Last_used_gtid_tracker_ctx::Last_used_gtid_tracker_ctx | ( | ) |
|
virtualdefault |
void Last_used_gtid_tracker_ctx::get_last_used_gtid | ( | Gtid & | gtid | ) |
Get the last used GTID the session.
[out] | gtid | the used gtid. |
void Last_used_gtid_tracker_ctx::set_last_used_gtid | ( | const Gtid & | gtid | ) |
Set the last used GTID the session.
[in] | gtid | the used gtid. |
|
private |