![]() |
MySQL 9.5.0
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, const mysql::gtid::Tsid &sid) |
| Set the last used GTID the session. More... | |
| void | get_last_used_gtid (Gtid >id) |
| Get the last used GTID the session. More... | |
| void | get_last_used_tsid (mysql::gtid::Tsid &tsid) |
| Get the last used TSID of the session. More... | |
Private Attributes | |
| std::unique_ptr< Gtid > | m_last_used_gtid |
| mysql::gtid::Tsid | m_last_used_tsid |
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::get_last_used_tsid | ( | mysql::gtid::Tsid & | tsid | ) |
Get the last used TSID of the session.
| [out] | tsid | the used tsid. |
| void Last_used_gtid_tracker_ctx::set_last_used_gtid | ( | const Gtid & | gtid, |
| const mysql::gtid::Tsid & | sid | ||
| ) |
Set the last used GTID the session.
| [in] | gtid | the used gtid. |
| [in] | sid | the used sid. |
|
private |
|
private |