25#ifndef TABLE_RPL_ASYNC_CONNECTION_FAILOVER_MANAGED_H
26#define TABLE_RPL_ASYNC_CONNECTION_FAILOVER_MANAGED_H
119 bool read_all)
override;
176 int rnd_pos(
const void *pos)
override;
Abstraction for accessing JSON values irrespective of whether they are (started out as) binary JSON v...
Definition: json_dom.h:1161
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
Table PERFORMANCE_SCHEMA.TABLE_RPL_ASYNC_CONNECTION_FAILOVER_MANAGED.
Definition: table_rpl_async_connection_failover_managed.h:73
std::vector< RPL_FAILOVER_MANAGED_JSON_TUPLE > m_source_managed_list
Definition: table_rpl_async_connection_failover_managed.h:180
int make_row(uint index)
Stores current row (i.e.index) values for the table into m_row struct members.
Definition: table_rpl_async_connection_failover_managed.cc:194
static ha_rows num_rows
Definition: table_rpl_async_connection_failover_managed.h:183
void reset_position() override
Reset the cursor position to the beginning of the table.
Definition: table_rpl_async_connection_failover_managed.cc:108
int rnd_pos(const void *pos) override
Read row via random scan from position.
Definition: table_rpl_async_connection_failover_managed.cc:182
~table_rpl_async_connection_failover_managed() override
static PFS_engine_table * create(PFS_engine_table_share *tbs)
Open table function.
Definition: table_rpl_async_connection_failover_managed.cc:96
table_rpl_async_connection_failover_managed()
Definition: table_rpl_async_connection_failover_managed.cc:102
int rnd_init(bool scan) override
Initialize table for random read or scan.
Definition: table_rpl_async_connection_failover_managed.cc:121
int rnd_next() override
Read next row via random scan.
Definition: table_rpl_async_connection_failover_managed.cc:170
pos_t m_next_pos
Next position.
Definition: table_rpl_async_connection_failover_managed.h:103
static PFS_engine_table_share m_share
Table share.
Definition: table_rpl_async_connection_failover_managed.h:127
static ha_rows get_row_count()
Get the current number of rows read.
Definition: table_rpl_async_connection_failover_managed.cc:116
int read_row_values(TABLE *table, unsigned char *buf, Field **fields, bool read_all) override
Read the current row values.
Definition: table_rpl_async_connection_failover_managed.cc:227
PFS_simple_index pos_t
Position of a cursor, for simple iterations.
Definition: table_rpl_async_connection_failover_managed.h:75
pos_t m_pos
Current position.
Definition: table_rpl_async_connection_failover_managed.h:100
static Plugin_table m_table_def
Table definition.
Definition: table_rpl_async_connection_failover_managed.h:94
static THR_LOCK m_table_lock
Table share lock.
Definition: table_rpl_async_connection_failover_managed.h:91
st_row_rpl_async_conn_failover_managed m_row
Current row.
Definition: table_rpl_async_connection_failover_managed.h:97
This file includes constants used by all storage engines.
my_off_t ha_rows
Definition: my_base.h:1140
static constexpr int HOSTNAME_LENGTH
Definition: my_hostname.h:43
Common #defines and includes for file and socket I/O.
Common definition between mysql server & client.
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: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_rpl_async_connection_failover_managed.h:59
char channel_name[CHANNEL_NAME_LENGTH]
Definition: table_rpl_async_connection_failover_managed.h:60
char managed_name[HOSTNAME_LENGTH]
Definition: table_rpl_async_connection_failover_managed.h:62
uint managed_name_length
Definition: table_rpl_async_connection_failover_managed.h:63
uint managed_type_length
Definition: table_rpl_async_connection_failover_managed.h:65
uint channel_name_length
Definition: table_rpl_async_connection_failover_managed.h:61
char managed_type[HOSTNAME_LENGTH]
Definition: table_rpl_async_connection_failover_managed.h:64
Json_wrapper configuration
Definition: table_rpl_async_connection_failover_managed.h:66
Helpers to implement a performance schema table.
unsigned int uint
Definition: uca9-dump.cc:75