MySQL 8.0.39
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)
 Set the last used GTID the session. More...
 
void get_last_used_gtid (Gtid &gtid)
 Get the last used GTID the session. More...
 

Private Attributes

std::unique_ptr< Gtidm_last_used_gtid
 

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.

◆ set_last_used_gtid()

void Last_used_gtid_tracker_ctx::set_last_used_gtid ( const Gtid gtid)

Set the last used GTID the session.

Parameters
[in]gtidthe used gtid.

Member Data Documentation

◆ m_last_used_gtid

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

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