MySQL 8.3.0
Source Code Documentation
Last_used_gtid_tracker_ctx Class Reference

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 &gtid, const mysql::gtid::Tsid &sid)
 Set the last used GTID the session. More...
 
void get_last_used_gtid (Gtid &gtid)
 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< Gtidm_last_used_gtid
 
mysql::gtid::Tsid m_last_used_tsid
 

Detailed Description

This class tracks the last used GTID per session.

Constructor & Destructor Documentation

◆ Last_used_gtid_tracker_ctx()

Last_used_gtid_tracker_ctx::Last_used_gtid_tracker_ctx ( )

◆ ~Last_used_gtid_tracker_ctx()

Last_used_gtid_tracker_ctx::~Last_used_gtid_tracker_ctx ( )
virtualdefault

Member Function Documentation

◆ get_last_used_gtid()

void Last_used_gtid_tracker_ctx::get_last_used_gtid ( Gtid gtid)

Get the last used GTID the session.

Parameters
[out]gtidthe used gtid.

◆ get_last_used_tsid()

void Last_used_gtid_tracker_ctx::get_last_used_tsid ( mysql::gtid::Tsid tsid)

Get the last used TSID of the session.

Parameters
[out]tsidthe used tsid.

◆ set_last_used_gtid()

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.

Parameters
[in]gtidthe used gtid.
[in]sidthe used sid.

Member Data Documentation

◆ m_last_used_gtid

std::unique_ptr<Gtid> Last_used_gtid_tracker_ctx::m_last_used_gtid
private

◆ m_last_used_tsid

mysql::gtid::Tsid Last_used_gtid_tracker_ctx::m_last_used_tsid
private

The documentation for this class was generated from the following files: