MySQL 9.1.0
Source Code Documentation
|
This class is used to store the type and value for Assign_gtids_to_anonymous_transactions parameter of Change replication source 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 |
This class is used to store the type and value for Assign_gtids_to_anonymous_transactions parameter of Change replication source command on slave.
|
strong |
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 replication source command to the parameter ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS
Enumerator | |
---|---|
AGAT_OFF | |
AGAT_LOCAL | |
AGAT_UUID |
|
inline |
The default constructor initializes parameters to their default value.
|
inline |
Assign_gtids_to_anonymous_transactions_info::enum_type Assign_gtids_to_anonymous_transactions_info::get_type | ( | ) | const |
std::string Assign_gtids_to_anonymous_transactions_info::get_value | ( | ) | const |
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 | ||
) |
|
private |
|
private |
This stores the type of Assign_gtids_to_anonymous_transactions info.
|
private |
Stores the UUID in case the m_type is not OFF.