25#ifndef TABLE_REPLICATION_APPLIER_DEFAULT_FILTERS_H
26#define TABLE_REPLICATION_APPLIER_DEFAULT_FILTERS_H
113 bool read_all)
override;
142 int rnd_pos(
const void *pos)
override;
An abstract PERFORMANCE_SCHEMA table.
Definition: pfs_engine_table.h:70
Class to hold information regarding a table to be created on behalf of a plugin.
Definition: plugin_table.h:40
The class Rpl_pfs_filter is introduced to serve the performance_schema.replication_applier_filters ta...
Definition: rpl_filter.h:167
Using this class is fraught with peril, and you need to be very careful when doing so.
Definition: sql_string.h:167
Table PERFORMANCE_SCHEMA.replication_applier_global_filters.
Definition: table_replication_applier_global_filters.h:77
pos_t m_next_pos
Next position.
Definition: table_replication_applier_global_filters.h:100
static Plugin_table m_table_def
Table definition.
Definition: table_replication_applier_global_filters.h:91
void make_row(Rpl_pfs_filter *rpl_pfs_filter)
Make a row by an object of Rpl_pfs_filter.
Definition: table_replication_applier_global_filters.cc:149
static PFS_engine_table * create(PFS_engine_table_share *)
Definition: table_replication_applier_global_filters.cc:83
bool m_row_exists
True is the current row exists.
Definition: table_replication_applier_global_filters.h:96
int rnd_pos(const void *pos) override
Fetch a row by position.
Definition: table_replication_applier_global_filters.cc:132
int rnd_next() override
Fetch the next row in this cursor.
Definition: table_replication_applier_global_filters.cc:111
int read_row_values(TABLE *table, unsigned char *buf, Field **fields, bool read_all) override
Read the current row values.
Definition: table_replication_applier_global_filters.cc:170
~table_replication_applier_global_filters() override
table_replication_applier_global_filters()
Definition: table_replication_applier_global_filters.cc:89
PFS_simple_index pos_t
Definition: table_replication_applier_global_filters.h:78
static PFS_engine_table_share m_share
Table share.
Definition: table_replication_applier_global_filters.h:121
static THR_LOCK m_table_lock
Table share lock.
Definition: table_replication_applier_global_filters.h:89
st_row_applier_global_filters m_row
Current row.
Definition: table_replication_applier_global_filters.h:94
static ha_rows get_row_count()
Get the table count.
Definition: table_replication_applier_global_filters.cc:103
pos_t m_pos
Current position.
Definition: table_replication_applier_global_filters.h:98
void reset_position() override
Reset the cursor position to the beginning of the table.
Definition: table_replication_applier_global_filters.cc:98
This file includes constants used by all storage engines.
my_off_t ha_rows
Definition: my_base.h:1141
Some integer typedefs for easier portability.
unsigned long long int ulonglong
Definition: my_inttypes.h:56
Common definition between mysql server & client.
#define NAME_LEN
Definition: mysql_com.h:67
static PFS_engine_table_share_proxy table
Definition: pfs.cc:61
Definition: buf0block_hint.cc:30
Performance schema tables (declarations).
enum_configured_by
Enum values for CONFIGURED_BY column.
Definition: rpl_filter.h:84
Our own string classes, used pervasively throughout the executor.
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_applier_global_filters.h:48
char filter_name[NAME_LEN]
Definition: table_replication_applier_global_filters.h:54
uint filter_name_length
Definition: table_replication_applier_global_filters.h:55
ulonglong active_since
Definition: table_replication_applier_global_filters.h:73
String filter_rule
Definition: table_replication_applier_global_filters.h:63
enum_configured_by configured_by
Definition: table_replication_applier_global_filters.h:70