25#ifndef TABLE_REPLICATION_APPLIER_STATUS_BY_COORDINATOR_H
26#define TABLE_REPLICATION_APPLIER_STATUS_BY_COORDINATOR_H
54#ifndef ENUM_RPL_YES_NO
55#define ENUM_RPL_YES_NO
158 bool read_all)
override;
172 int rnd_pos(
const void *pos)
override;
Definition: pfs_engine_table.h:300
Definition: pfs_engine_table.h:268
An abstract PERFORMANCE_SCHEMA table.
Definition: pfs_engine_table.h:70
Definition: table_replication_applier_status_by_coordinator.h:101
bool match(Master_info *mi) override
Definition: table_replication_applier_status_by_coordinator.cc:101
~PFS_index_rpl_applier_status_by_coord_by_channel() override=default
PFS_index_rpl_applier_status_by_coord_by_channel()
Definition: table_replication_applier_status_by_coordinator.h:103
PFS_key_name m_key
Definition: table_replication_applier_status_by_coordinator.h:111
Definition: table_replication_applier_status_by_coordinator.h:115
PFS_key_thread_id m_key
Definition: table_replication_applier_status_by_coordinator.h:125
PFS_index_rpl_applier_status_by_coord_by_thread()
Definition: table_replication_applier_status_by_coordinator.h:117
~PFS_index_rpl_applier_status_by_coord_by_thread() override=default
bool match(Master_info *mi) override
Definition: table_replication_applier_status_by_coordinator.cc:118
Definition: table_replication_applier_status_by_coordinator.h:90
~PFS_index_rpl_applier_status_by_coord() override=default
PFS_index_rpl_applier_status_by_coord(PFS_engine_key *key)
Definition: table_replication_applier_status_by_coordinator.h:92
virtual bool match(Master_info *mi)=0
Definition: table_helper.h:1535
Definition: table_helper.h:1278
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_by_coordinator.
Definition: table_replication_applier_status_by_coordinator.h:130
PFS_simple_index pos_t
Definition: table_replication_applier_status_by_coordinator.h:131
static PFS_engine_table * create(PFS_engine_table_share *)
Definition: table_replication_applier_status_by_coordinator.cc:145
st_row_coordinator m_row
Current row.
Definition: table_replication_applier_status_by_coordinator.h:142
void reset_position() override
Reset the cursor position to the beginning of the table.
Definition: table_replication_applier_status_by_coordinator.cc:157
pos_t m_next_pos
Next position.
Definition: table_replication_applier_status_by_coordinator.h:146
int rnd_pos(const void *pos) override
Fetch a row by position.
Definition: table_replication_applier_status_by_coordinator.cc:194
table_replication_applier_status_by_coordinator()
Definition: table_replication_applier_status_by_coordinator.cc:151
static Plugin_table m_table_def
Table definition.
Definition: table_replication_applier_status_by_coordinator.h:139
PFS_index_rpl_applier_status_by_coord * m_opened_index
Definition: table_replication_applier_status_by_coordinator.h:178
~table_replication_applier_status_by_coordinator() override
int make_row(Master_info *mi)
Definition: table_replication_applier_status_by_coordinator.cc:266
static ha_rows get_row_count()
Definition: table_replication_applier_status_by_coordinator.cc:162
static PFS_engine_table_share m_share
Table share.
Definition: table_replication_applier_status_by_coordinator.h:166
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_by_coordinator.cc:339
pos_t m_pos
Current position.
Definition: table_replication_applier_status_by_coordinator.h:144
int rnd_next() override
Fetch the next row in this cursor.
Definition: table_replication_applier_status_by_coordinator.cc:166
int index_next() override
Find key in index, read record.
Definition: table_replication_applier_status_by_coordinator.cc:233
static THR_LOCK m_table_lock
Table share lock.
Definition: table_replication_applier_status_by_coordinator.h:137
int index_init(uint idx, bool sorted) override
Definition: table_replication_applier_status_by_coordinator.cc:213
This file includes constants used by all storage engines.
my_off_t ha_rows
Definition: my_base.h:1140
Some integer typedefs for easier portability.
unsigned long long int ulonglong
Definition: my_inttypes.h:56
Definition: buf0block_hint.cc:30
Performance schema tables (declarations).
required string key
Definition: replication_asynchronous_connection_failover.proto:60
#define CHANNEL_NAME_LENGTH
Definition: rpl_info.h:41
#define MAX_SLAVE_ERRMSG
Maximum size of an error message from a slave thread.
Definition: rpl_reporting.h:42
static const int MAX_TEXT_LENGTH
The maximal length of the textual representation of a SID, not including the terminating '\0'.
Definition: rpl_gtid.h:1101
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
Definition: table_replication_applier_status_by_coordinator.h:67
ulonglong last_processed_trx_end_buffer_timestamp
Definition: table_replication_applier_status_by_coordinator.h:82
ulonglong last_processed_trx_immediate_commit_timestamp
Definition: table_replication_applier_status_by_coordinator.h:80
uint processing_trx_length
Definition: table_replication_applier_status_by_coordinator.h:84
char processing_trx[Gtid::MAX_TEXT_LENGTH+1]
Definition: table_replication_applier_status_by_coordinator.h:83
ulonglong last_error_timestamp
Definition: table_replication_applier_status_by_coordinator.h:76
char last_error_message[MAX_SLAVE_ERRMSG]
Definition: table_replication_applier_status_by_coordinator.h:74
uint last_processed_trx_length
Definition: table_replication_applier_status_by_coordinator.h:78
ulonglong processing_trx_immediate_commit_timestamp
Definition: table_replication_applier_status_by_coordinator.h:86
char channel_name[CHANNEL_NAME_LENGTH]
Definition: table_replication_applier_status_by_coordinator.h:68
ulonglong processing_trx_original_commit_timestamp
Definition: table_replication_applier_status_by_coordinator.h:85
uint last_error_number
Definition: table_replication_applier_status_by_coordinator.h:73
uint last_error_message_length
Definition: table_replication_applier_status_by_coordinator.h:75
bool thread_id_is_null
Definition: table_replication_applier_status_by_coordinator.h:71
ulonglong processing_trx_start_buffer_timestamp
Definition: table_replication_applier_status_by_coordinator.h:87
ulonglong last_processed_trx_original_commit_timestamp
Definition: table_replication_applier_status_by_coordinator.h:79
char last_processed_trx[Gtid::MAX_TEXT_LENGTH+1]
Definition: table_replication_applier_status_by_coordinator.h:77
ulonglong last_processed_trx_start_buffer_timestamp
Definition: table_replication_applier_status_by_coordinator.h:81
uint channel_name_length
Definition: table_replication_applier_status_by_coordinator.h:69
enum_rpl_yes_no service_state
Definition: table_replication_applier_status_by_coordinator.h:72
ulonglong thread_id
Definition: table_replication_applier_status_by_coordinator.h:70
Helpers to implement a performance schema table.
enum_rpl_yes_no
Definition: table_replication_applier_configuration.h:50
unsigned int uint
Definition: uca9-dump.cc:75