25#ifndef TABLE_REPLICATION_CONFIGURATION_H
26#define TABLE_REPLICATION_CONFIGURATION_H
54#ifndef ENUM_RPL_YES_NO
55#define ENUM_RPL_YES_NO
165 bool read_all)
override;
179 int rnd_pos(
const void *pos)
override;
181 int index_init(uint idx,
bool sorted)
override;
Definition: pfs_engine_table.h:301
An abstract PERFORMANCE_SCHEMA table.
Definition: pfs_engine_table.h:70
Definition: table_replication_connection_configuration.h:123
~PFS_index_rpl_connection_config() override=default
PFS_key_name m_key
Definition: table_replication_connection_configuration.h:133
PFS_index_rpl_connection_config()
Definition: table_replication_connection_configuration.h:125
virtual bool match(Master_info *mi)
Definition: table_replication_connection_configuration.cc:110
Definition: table_helper.h:1569
Class to hold information regarding a table to be created on behalf of a plugin.
Definition: plugin_table.h:40
Table PERFORMANCE_SCHEMA.TABLE_REPLICATION_CONNECTION_CONFIGURATION.
Definition: table_replication_connection_configuration.h:137
static THR_LOCK m_table_lock
Table share lock.
Definition: table_replication_connection_configuration.h:144
static ha_rows get_row_count()
Definition: table_replication_connection_configuration.cc:147
PFS_simple_index pos_t
Definition: table_replication_connection_configuration.h:138
~table_replication_connection_configuration() override
static PFS_engine_table_share m_share
Table share.
Definition: table_replication_connection_configuration.h:173
int rnd_next() override
Fetch the next row in this cursor.
Definition: table_replication_connection_configuration.cc:155
void reset_position() override
Reset the cursor position to the beginning of the table.
Definition: table_replication_connection_configuration.cc:142
table_replication_connection_configuration()
Definition: table_replication_connection_configuration.cc:133
int make_row(Master_info *)
Definition: table_replication_connection_configuration.cc:228
pos_t m_next_pos
Next position.
Definition: table_replication_connection_configuration.h:153
static PFS_engine_table * create(PFS_engine_table_share *)
Definition: table_replication_connection_configuration.cc:127
pos_t m_pos
Current position.
Definition: table_replication_connection_configuration.h:151
static Plugin_table m_table_def
Table definition.
Definition: table_replication_connection_configuration.h:146
int index_next() override
Find key in index, read record.
Definition: table_replication_connection_configuration.cc:203
int index_init(uint idx, bool sorted) override
Definition: table_replication_connection_configuration.cc:193
PFS_index_rpl_connection_config * m_opened_index
Definition: table_replication_connection_configuration.h:185
int rnd_pos(const void *pos) override
Fetch a row by position.
Definition: table_replication_connection_configuration.cc:174
st_row_connect_config m_row
Current row.
Definition: table_replication_connection_configuration.h:149
int read_row_values(TABLE *table, unsigned char *buf, Field **fields, bool read_all) override
Read the current row values.
Definition: table_replication_connection_configuration.cc:339
#define COMPRESSION_ALGORITHM_NAME_BUFFER_SIZE
Definition: compression.h:42
This file includes constants used by all storage engines.
my_off_t ha_rows
Definition: my_base.h:1141
static constexpr int HOSTNAME_LENGTH
Definition: my_hostname.h:43
Common #defines and includes for file and socket I/O.
#define FN_REFLEN
Definition: my_io.h:83
Common definition between mysql server & client.
#define NAME_LEN
Definition: mysql_com.h:67
#define USERNAME_LENGTH
Definition: mysql_com.h:69
static PFS_engine_table_share_proxy table
Definition: pfs.cc:61
Definition: buf0block_hint.cc:30
Performance schema tables (declarations).
#define CHANNEL_NAME_LENGTH
Definition: rpl_info.h:41
A PERFORMANCE_SCHEMA table share.
Definition: pfs_engine_table.h:359
Position of a cursor, for simple iterations.
Definition: pfs_engine_table.h:567
Definition: thr_lock.h:139
A row in the table.
Definition: table_replication_connection_configuration.h:70
uint connection_retry_interval
Definition: table_replication_connection_configuration.h:97
ulong connection_retry_count
Definition: table_replication_connection_configuration.h:98
enum_rpl_yes_no gtid_only
Definition: table_replication_connection_configuration.h:120
uint ssl_ca_file_length
Definition: table_replication_connection_configuration.h:83
enum_rpl_yes_no ssl_verify_server_certificate
Definition: table_replication_connection_configuration.h:92
char ssl_ca_path[FN_REFLEN]
Definition: table_replication_connection_configuration.h:84
uint ssl_key_length
Definition: table_replication_connection_configuration.h:91
char host[HOSTNAME_LENGTH]
Definition: table_replication_connection_configuration.h:73
char user[USERNAME_LENGTH]
Definition: table_replication_connection_configuration.h:76
char ssl_cipher[FN_REFLEN]
Definition: table_replication_connection_configuration.h:88
char ssl_key[FN_REFLEN]
Definition: table_replication_connection_configuration.h:90
char ssl_certificate[FN_REFLEN]
Definition: table_replication_connection_configuration.h:86
uint ssl_cipher_length
Definition: table_replication_connection_configuration.h:89
uint network_interface_length
Definition: table_replication_connection_configuration.h:79
uint channel_name_length
Definition: table_replication_connection_configuration.h:72
uint zstd_compression_level
Definition: table_replication_connection_configuration.h:109
char ssl_crl_path[FN_REFLEN]
Definition: table_replication_connection_configuration.h:95
double heartbeat_interval
Definition: table_replication_connection_configuration.h:99
char ssl_ca_file[FN_REFLEN]
Definition: table_replication_connection_configuration.h:82
uint ssl_certificate_length
Definition: table_replication_connection_configuration.h:87
char tls_version[FN_REFLEN]
Definition: table_replication_connection_configuration.h:100
char network_interface[HOSTNAME_LENGTH]
Definition: table_replication_connection_configuration.h:78
char compression_algorithm[COMPRESSION_ALGORITHM_NAME_BUFFER_SIZE]
Definition: table_replication_connection_configuration.h:107
uint host_length
Definition: table_replication_connection_configuration.h:74
char public_key_path[FN_REFLEN]
Definition: table_replication_connection_configuration.h:102
std::pair< bool, std::string > tls_ciphersuites
Definition: table_replication_connection_configuration.h:117
uint compression_algorithm_length
Definition: table_replication_connection_configuration.h:108
enum_rpl_yes_no source_connection_auto_failover
Definition: table_replication_connection_configuration.h:118
uint public_key_path_length
Definition: table_replication_connection_configuration.h:103
uint ssl_crl_path_length
Definition: table_replication_connection_configuration.h:96
uint ssl_crl_file_length
Definition: table_replication_connection_configuration.h:94
enum_ssl_allowed ssl_allowed
Definition: table_replication_connection_configuration.h:81
char ssl_crl_file[FN_REFLEN]
Definition: table_replication_connection_configuration.h:93
uint network_namespace_length
Definition: table_replication_connection_configuration.h:106
uint port
Definition: table_replication_connection_configuration.h:75
uint user_length
Definition: table_replication_connection_configuration.h:77
char channel_name[CHANNEL_NAME_LENGTH]
Definition: table_replication_connection_configuration.h:71
uint ssl_ca_path_length
Definition: table_replication_connection_configuration.h:85
enum_rpl_yes_no get_public_key
Definition: table_replication_connection_configuration.h:104
uint tls_version_length
Definition: table_replication_connection_configuration.h:101
enum_rpl_yes_no auto_position
Definition: table_replication_connection_configuration.h:80
char network_namespace[NAME_LEN]
Definition: table_replication_connection_configuration.h:105
Helpers to implement a performance schema table.
enum_rpl_yes_no
Definition: table_replication_applier_configuration.h:50