78 bool read_all)
override;
An abstract PERFORMANCE_SCHEMA table.
Definition: pfs_engine_table.h:70
Definition: table_users.h:55
~PFS_index_users_by_user() override=default
PFS_index_users_by_user()
Definition: table_users.h:57
PFS_key_user m_key
Definition: table_users.h:64
bool match(PFS_user *pfs) override
Definition: table_users.cc:81
Definition: cursor_by_user.h:42
Definition: table_helper.h:1473
Class to hold information regarding a table to be created on behalf of a plugin.
Definition: plugin_table.h:40
Cursor CURSOR_BY_USER.
Definition: cursor_by_user.h:52
Table PERFORMANCE_SCHEMA.USERS.
Definition: table_users.h:68
~table_users() override=default
int index_init(uint idx, bool sorted) override
Definition: table_users.cc:121
int make_row(PFS_user *pfs) override
Definition: table_users.cc:129
static PFS_engine_table * create(PFS_engine_table_share *)
Table builder.
Definition: table_users.cc:91
int read_row_values(TABLE *table, unsigned char *buf, Field **fields, bool read_all) override
Read the current row values.
Definition: table_users.cc:152
table_users()
Definition: table_users.cc:119
static int delete_all_rows()
Definition: table_users.cc:95
row_users m_row
Current row.
Definition: table_users.h:97
static THR_LOCK m_table_lock
Table share lock.
Definition: table_users.h:92
static PFS_engine_table_share m_share
Table share.
Definition: table_users.h:71
static Plugin_table m_table_def
Table definition.
Definition: table_users.h:94
Cursor CURSOR_BY_USER (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 USER.
Definition: table_helper.h:539
Per user statistics.
Definition: pfs_user.h:63
Definition: thr_lock.h:139
A row of PERFORMANCE_SCHEMA.USERS.
Definition: table_users.h:48
PFS_connection_stat_row m_connection_stat
Columns CURRENT_CONNECTIONS, TOTAL_CONNECTIONS.
Definition: table_users.h:52
PFS_user_row m_user
Column USER.
Definition: table_users.h:50
Helpers to implement a performance schema table.
unsigned int uint
Definition: uca9-dump.cc:75