MySQL 8.0.39
Source Code Documentation
Assign_gtids_to_anonymous_transactions_info Class Reference

This class is used to store the type and value for Assign_gtids_to_anonymous_transactions parameter of Change master command on slave. More...

#include <rpl_rli.h>

Public Types

enum class  enum_type { AGAT_OFF = 1 , AGAT_LOCAL , AGAT_UUID }
 This accepted value of the type of the Assign_gtids_to_anonymous_transactions info OFF : Anonymous gtid events won't be converted to Gtid event. More...
 

Public Member Functions

 Assign_gtids_to_anonymous_transactions_info ()
 The default constructor initializes parameters to their default value. More...
 
rpl_sidno get_sidno () const
 
enum_type get_type () const
 
std::string get_value () const
 
bool set_info (enum_type assign_gtids_to_anonymous_transactions_type, const char *assign_gtids_to_anonymous_transactions_value)
 

Private Attributes

enum_type m_type
 This stores the type of Assign_gtids_to_anonymous_transactions info. More...
 
std::string m_value
 Stores the UUID in case the m_type is not OFF. More...
 
rpl_sidno m_sidno
 

Detailed Description

This class is used to store the type and value for Assign_gtids_to_anonymous_transactions parameter of Change master command on slave.

Member Enumeration Documentation

◆ enum_type

This accepted value of the type of the Assign_gtids_to_anonymous_transactions info OFF : Anonymous gtid events won't be converted to Gtid event.

LOCAL: Anonymous gtid events will be converted to Gtid event & the UUID used while create GTIDs will be the one of replica which is the server where this transformation of anonymous to gtid event happens. UUID: Anonymous gtid events will be converted to Gtid event & the UUID used while create GTIDs will be the one specified via Change master command to the parameter ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS

Enumerator
AGAT_OFF 
AGAT_LOCAL 
AGAT_UUID 

Constructor & Destructor Documentation

◆ Assign_gtids_to_anonymous_transactions_info()

Assign_gtids_to_anonymous_transactions_info::Assign_gtids_to_anonymous_transactions_info ( )
inline

The default constructor initializes parameters to their default value.

Member Function Documentation

◆ get_sidno()

rpl_sidno Assign_gtids_to_anonymous_transactions_info::get_sidno ( ) const
inline

◆ get_type()

Assign_gtids_to_anonymous_transactions_info::enum_type Assign_gtids_to_anonymous_transactions_info::get_type ( ) const

◆ get_value()

std::string Assign_gtids_to_anonymous_transactions_info::get_value ( ) const

◆ set_info()

bool Assign_gtids_to_anonymous_transactions_info::set_info ( enum_type  assign_gtids_to_anonymous_transactions_type,
const char *  assign_gtids_to_anonymous_transactions_value 
)

Member Data Documentation

◆ m_sidno

rpl_sidno Assign_gtids_to_anonymous_transactions_info::m_sidno
private

◆ m_type

enum_type Assign_gtids_to_anonymous_transactions_info::m_type
private

This stores the type of Assign_gtids_to_anonymous_transactions info.

◆ m_value

std::string Assign_gtids_to_anonymous_transactions_info::m_value
private

Stores the UUID in case the m_type is not OFF.


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