24#ifndef TABLE_REPLICATION_APPLIER_FILTERS_H
25#define TABLE_REPLICATION_APPLIER_FILTERS_H
122 bool read_all)
override;
An abstract PERFORMANCE_SCHEMA table.
Definition: pfs_engine_table.h:69
Class to hold information regarding a table to be created on behalf of a plugin.
Definition: plugin_table.h:39
The class Rpl_pfs_filter is introduced to serve the performance_schema.replication_applier_filters ta...
Definition: rpl_filter.h:166
Using this class is fraught with peril, and you need to be very careful when doing so.
Definition: sql_string.h:166
Table PERFORMANCE_SCHEMA.replication_applier_filters.
Definition: table_replication_applier_filters.h:86
pos_t m_pos
Current position.
Definition: table_replication_applier_filters.h:107
pos_t m_next_pos
Next position.
Definition: table_replication_applier_filters.h:109
bool m_row_exists
True is the current row exists.
Definition: table_replication_applier_filters.h:105
int rnd_pos(const void *pos) override
Fetch a row by position.
Definition: table_replication_applier_filters.cc:134
int read_row_values(TABLE *table, unsigned char *buf, Field **fields, bool read_all) override
Read the current row values.
Definition: table_replication_applier_filters.cc:179
void reset_position(void) override
Reset the cursor position to the beginning of the table.
Definition: table_replication_applier_filters.cc:99
~table_replication_applier_filters() override
st_row_applier_filters m_row
Current row.
Definition: table_replication_applier_filters.h:103
PFS_simple_index pos_t
Definition: table_replication_applier_filters.h:87
static PFS_engine_table * create(PFS_engine_table_share *)
Definition: table_replication_applier_filters.cc:85
static Plugin_table m_table_def
Table definition.
Definition: table_replication_applier_filters.h:100
void make_row(Rpl_pfs_filter *rpl_pfs_filter)
Make a row by an object of Rpl_pfs_filter.
Definition: table_replication_applier_filters.cc:152
table_replication_applier_filters()
Definition: table_replication_applier_filters.cc:90
static THR_LOCK m_table_lock
Table share lock.
Definition: table_replication_applier_filters.h:98
static ha_rows get_row_count()
Get the table count.
Definition: table_replication_applier_filters.cc:104
static PFS_engine_table_share m_share
Table share.
Definition: table_replication_applier_filters.h:130
int rnd_next() override
Fetch the next row in this cursor.
Definition: table_replication_applier_filters.cc:112
char * pos
Definition: do_ctype.cc:76
This file includes constants used by all storage engines.
my_off_t ha_rows
Definition: my_base.h:1139
Some integer typedefs for easier portability.
unsigned long long int ulonglong
Definition: my_inttypes.h:55
Common definition between mysql server & client.
#define NAME_LEN
Definition: mysql_com.h:66
Definition: buf0block_hint.cc:29
Performance schema tables (declarations).
enum_configured_by
Enum values for CONFIGURED_BY column.
Definition: rpl_filter.h:83
#define CHANNEL_NAME_LENGTH
Definition: rpl_info.h:40
Our own string classes, used pervasively throughout the executor.
A PERFORMANCE_SCHEMA table share.
Definition: pfs_engine_table.h:357
Position of a cursor, for simple iterations.
Definition: pfs_engine_table.h:558
Definition: thr_lock.h:138
A row in the table.
Definition: table_replication_applier_filters.h:48
ulonglong counter
Definition: table_replication_applier_filters.h:82
ulonglong active_since
Definition: table_replication_applier_filters.h:79
enum_configured_by configured_by
Definition: table_replication_applier_filters.h:76
uint filter_name_length
Definition: table_replication_applier_filters.h:58
char channel_name[CHANNEL_NAME_LENGTH]
Definition: table_replication_applier_filters.h:50
String filter_rule
Definition: table_replication_applier_filters.h:66
uint channel_name_length
Definition: table_replication_applier_filters.h:51
char filter_name[NAME_LEN]
Definition: table_replication_applier_filters.h:57
unsigned int uint
Definition: uca-dump.cc:29