25#ifndef TABLE_REPLICATION_APPLIER_STATUS_H
26#define TABLE_REPLICATION_APPLIER_STATUS_H
51#ifndef ENUM_RPL_YES_NO
52#define ENUM_RPL_YES_NO
109 bool read_all)
override;
124 int rnd_pos(
const void *pos)
override;
126 int index_init(uint idx,
bool sorted)
override;
Definition: pfs_engine_table.h:300
An abstract PERFORMANCE_SCHEMA table.
Definition: pfs_engine_table.h:70
Definition: table_replication_applier_status.h:67
virtual bool match(Master_info *mi)
Definition: table_replication_applier_status.cc:83
PFS_key_name m_key
Definition: table_replication_applier_status.h:77
PFS_index_rpl_applier_status()
Definition: table_replication_applier_status.h:69
~PFS_index_rpl_applier_status() override=default
Definition: table_helper.h:1554
Class to hold information regarding a table to be created on behalf of a plugin.
Definition: plugin_table.h:40
Table PERFORMANCE_SCHEMA.replication_applier_status.
Definition: table_replication_applier_status.h:81
PFS_index_rpl_applier_status * m_opened_index
Definition: table_replication_applier_status.h:130
static Plugin_table m_table_def
Table definition.
Definition: table_replication_applier_status.h:90
int read_row_values(TABLE *table, unsigned char *buf, Field **fields, bool read_all) override
Read the current row values.
Definition: table_replication_applier_status.cc:235
static PFS_engine_table * create(PFS_engine_table_share *)
Definition: table_replication_applier_status.cc:100
PFS_simple_index pos_t
Definition: table_replication_applier_status.h:82
static PFS_engine_table_share m_share
Table share.
Definition: table_replication_applier_status.h:117
static ha_rows get_row_count()
Definition: table_replication_applier_status.cc:115
st_row_applier_status m_row
Current row.
Definition: table_replication_applier_status.h:93
table_replication_applier_status()
Definition: table_replication_applier_status.cc:105
int rnd_pos(const void *pos) override
Fetch a row by position.
Definition: table_replication_applier_status.cc:138
int index_next() override
Find key in index, read record.
Definition: table_replication_applier_status.cc:167
pos_t m_next_pos
Next position.
Definition: table_replication_applier_status.h:97
int rnd_next() override
Fetch the next row in this cursor.
Definition: table_replication_applier_status.cc:119
void reset_position() override
Reset the cursor position to the beginning of the table.
Definition: table_replication_applier_status.cc:110
int index_init(uint idx, bool sorted) override
Definition: table_replication_applier_status.cc:157
~table_replication_applier_status() override
static THR_LOCK m_table_lock
Table share lock.
Definition: table_replication_applier_status.h:88
int make_row(Master_info *mi)
Definition: table_replication_applier_status.cc:192
pos_t m_pos
Current position.
Definition: table_replication_applier_status.h:95
This file includes constants used by all storage engines.
my_off_t ha_rows
Definition: my_base.h:1141
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: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_status.h:58
uint channel_name_length
Definition: table_replication_applier_status.h:60
char channel_name[CHANNEL_NAME_LENGTH]
Definition: table_replication_applier_status.h:59
uint remaining_delay
Definition: table_replication_applier_status.h:62
ulong count_transactions_retries
Definition: table_replication_applier_status.h:64
bool remaining_delay_is_set
Definition: table_replication_applier_status.h:63
enum_rpl_yes_no service_state
Definition: table_replication_applier_status.h:61
Helpers to implement a performance schema table.
enum_rpl_yes_no
Definition: table_replication_applier_configuration.h:50