78 bool read_all)
override;
An abstract PERFORMANCE_SCHEMA table.
Definition: pfs_engine_table.h:70
Definition: table_hosts.h:45
bool match(PFS_host *pfs) override
Definition: table_hosts.cc:81
PFS_index_hosts_by_host()
Definition: table_hosts.h:47
PFS_key_host m_key
Definition: table_hosts.h:54
~PFS_index_hosts_by_host() override=default
Definition: cursor_by_host.h:42
Definition: table_helper.h:1485
Class to hold information regarding a table to be created on behalf of a plugin.
Definition: plugin_table.h:40
Cursor CURSOR_BY_HOST.
Definition: cursor_by_host.h:52
Table PERFORMANCE_SCHEMA.THREADS.
Definition: table_hosts.h:68
static int delete_all_rows()
Definition: table_hosts.cc:95
static Plugin_table m_table_def
Table definition.
Definition: table_hosts.h:94
static THR_LOCK m_table_lock
Table share lock.
Definition: table_hosts.h:92
static PFS_engine_table * create(PFS_engine_table_share *)
Table builder.
Definition: table_hosts.cc:91
int make_row(PFS_host *pfs) override
Definition: table_hosts.cc:129
row_hosts m_row
Current row.
Definition: table_hosts.h:97
int index_init(uint idx, bool sorted) override
Definition: table_hosts.cc:121
~table_hosts() override=default
table_hosts()
Definition: table_hosts.cc:119
static PFS_engine_table_share m_share
Table share.
Definition: table_hosts.h:71
int read_row_values(TABLE *table, unsigned char *buf, Field **fields, bool read_all) override
Read the current row values.
Definition: table_hosts.cc:152
Cursor CURSOR_BY_HOST (declarations).
Definition: buf0block_hint.cc:30
Data types for columns used in the performance schema tables (declarations)
static const LEX_CSTRING pfs
Definition: sql_show_processlist.cc:66
Row fragment for connection statistics.
Definition: table_helper.h:1027
A PERFORMANCE_SCHEMA table share.
Definition: pfs_engine_table.h:358
Row fragment for column HOST.
Definition: table_helper.h:527
Per host statistics.
Definition: pfs_host.h:64
Definition: thr_lock.h:139
A row of PERFORMANCE_SCHEMA.HOSTS.
Definition: table_hosts.h:60
PFS_host_row m_host
Column HOST.
Definition: table_hosts.h:62
PFS_connection_stat_row m_connection_stat
Columns CURRENT_CONNECTIONS, TOTAL_CONNECTIONS.
Definition: table_hosts.h:64
Helpers to implement a performance schema table.
unsigned int uint
Definition: uca9-dump.cc:75