25#ifndef TABLE_REPLICATION_APPLIER_CONFIGURATION_H
26#define TABLE_REPLICATION_APPLIER_CONFIGURATION_H
48#ifndef ENUM_RPL_YES_NO
49#define ENUM_RPL_YES_NO
115 bool read_all)
override;
130 int rnd_pos(
const void *pos)
override;
enum_type
This accepted value of the type of the Assign_gtids_to_anonymous_transactions info OFF : Anonymous gt...
Definition: rpl_rli.h:106
Definition: pfs_engine_table.h:300
An abstract PERFORMANCE_SCHEMA table.
Definition: pfs_engine_table.h:70
Definition: table_replication_applier_configuration.h:73
PFS_key_name m_key
Definition: table_replication_applier_configuration.h:83
~PFS_index_rpl_applier_config() override=default
virtual bool match(Master_info *mi)
Definition: table_replication_applier_configuration.cc:101
PFS_index_rpl_applier_config()
Definition: table_replication_applier_configuration.h:75
Definition: table_helper.h:1535
Class to hold information regarding a table to be created on behalf of a plugin.
Definition: plugin_table.h:40
enum_require_table_primary_key
Identifies what is the replica policy on primary keys in tables.
Definition: rpl_rli.h:270
Table PERFORMANCE_SCHEMA.replication_applier_configuration.
Definition: table_replication_applier_configuration.h:87
void reset_position() override
Reset the cursor position to the beginning of the table.
Definition: table_replication_applier_configuration.cc:130
PFS_simple_index pos_t
Definition: table_replication_applier_configuration.h:88
int index_init(uint idx, bool sorted) override
Definition: table_replication_applier_configuration.cc:177
table_replication_applier_configuration()
Definition: table_replication_applier_configuration.cc:124
static Plugin_table m_table_def
Table definition.
Definition: table_replication_applier_configuration.h:96
pos_t m_pos
Current position.
Definition: table_replication_applier_configuration.h:101
int read_row_values(TABLE *table, unsigned char *buf, Field **fields, bool read_all) override
Read the current row values.
Definition: table_replication_applier_configuration.cc:263
static ha_rows get_row_count()
Definition: table_replication_applier_configuration.cc:135
int make_row(Master_info *mi)
Definition: table_replication_applier_configuration.cc:213
int rnd_next() override
Fetch the next row in this cursor.
Definition: table_replication_applier_configuration.cc:139
PFS_index_rpl_applier_config * m_opened_index
Definition: table_replication_applier_configuration.h:136
static THR_LOCK m_table_lock
Table share lock.
Definition: table_replication_applier_configuration.h:94
pos_t m_next_pos
Next position.
Definition: table_replication_applier_configuration.h:103
int rnd_pos(const void *pos) override
Fetch a row by position.
Definition: table_replication_applier_configuration.cc:158
int index_next() override
Find key in index, read record.
Definition: table_replication_applier_configuration.cc:188
static PFS_engine_table_share m_share
Table share.
Definition: table_replication_applier_configuration.h:123
static PFS_engine_table * create(PFS_engine_table_share *)
Definition: table_replication_applier_configuration.cc:118
~table_replication_applier_configuration() override
st_row_applier_config m_row
Current row.
Definition: table_replication_applier_configuration.h:99
This file includes constants used by all storage engines.
my_off_t ha_rows
Definition: my_base.h:1140
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:358
Position of a cursor, for simple iterations.
Definition: pfs_engine_table.h:566
Definition: thr_lock.h:139
A row in the table.
Definition: table_replication_applier_configuration.h:59
enum_rpl_yes_no requires_row_format
Definition: table_replication_applier_configuration.h:65
time_t desired_delay
Definition: table_replication_applier_configuration.h:62
std::string assign_gtids_to_anonymous_transactions_value
Definition: table_replication_applier_configuration.h:70
bool desired_delay_is_set
Definition: table_replication_applier_configuration.h:63
Relay_log_info::enum_require_table_primary_key require_table_primary_key_check
Definition: table_replication_applier_configuration.h:67
char channel_name[CHANNEL_NAME_LENGTH]
Definition: table_replication_applier_configuration.h:60
std::string privilege_checks_user
Definition: table_replication_applier_configuration.h:64
uint channel_name_length
Definition: table_replication_applier_configuration.h:61
Assign_gtids_to_anonymous_transactions_info::enum_type assign_gtids_to_anonymous_transactions_type
Definition: table_replication_applier_configuration.h:69
Helpers to implement a performance schema table.
enum_rpl_yes_no
Definition: table_replication_applier_configuration.h:50
Include file for Sun RPC to compile out of the box.
unsigned int uint
Definition: uca9-dump.cc:75