23#ifndef TABLE_VARIABLES_INFO_H
24#define TABLE_VARIABLES_INFO_H
92 bool read_all)
override;
An abstract PERFORMANCE_SCHEMA table.
Definition: pfs_engine_table.h:69
System variable info cache.
Definition: pfs_variable.h:651
Class to hold information regarding a table to be created on behalf of a plugin.
Definition: plugin_table.h:39
System variable derived from sys_var object.
Definition: pfs_variable.h:170
Table PERFORMANCE_SCHEMA.VARIABLES_INFO.
Definition: table_variables_info.h:76
int rnd_init(bool scan) override
Initialize table scan.
Definition: table_variables_info.cc:112
int rnd_next() override
Fetch the next row in this cursor.
Definition: table_variables_info.cc:118
pos_t m_pos
Current position.
Definition: table_variables_info.h:112
int read_row_values(TABLE *table, unsigned char *buf, Field **fields, bool read_all) override
Read the current row values.
Definition: table_variables_info.cc:177
int make_row(const System_variable *system_var)
Definition: table_variables_info.cc:145
int rnd_pos(const void *pos) override
Fetch a row by position.
Definition: table_variables_info.cc:132
~table_variables_info() override=default
table_variables_info()
Definition: table_variables_info.cc:101
static THR_LOCK m_table_lock
Table share lock.
Definition: table_variables_info.h:103
PFS_simple_index pos_t
Definition: table_variables_info.h:77
static Plugin_table m_table_def
Table definition.
Definition: table_variables_info.h:105
static ha_rows get_row_count()
Definition: table_variables_info.cc:88
row_variables_info m_row
Current row.
Definition: table_variables_info.h:110
pos_t m_next_pos
Next position.
Definition: table_variables_info.h:114
static PFS_engine_table_share m_share
Table share.
Definition: table_variables_info.h:81
static PFS_engine_table * create(PFS_engine_table_share *)
Definition: table_variables_info.cc:84
PFS_system_variable_info_cache m_sysvarinfo_cache
Current THD variables.
Definition: table_variables_info.h:108
void reset_position(void) override
Reset the cursor position to the beginning of the table.
Definition: table_variables_info.cc:107
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
static constexpr int HOSTNAME_LENGTH
Definition: my_hostname.h:42
Some integer typedefs for easier portability.
unsigned long long int ulonglong
Definition: my_inttypes.h:55
Common definition between mysql server & client.
#define USERNAME_LENGTH
Definition: mysql_com.h:68
Definition: buf0block_hint.cc:29
Data types for columns used in the performance schema tables (declarations)
#define COL_SOURCE_SIZE
Size of the SOURCE columns, in bytes.
Definition: pfs_column_types.h:75
#define COL_INFO_SIZE
Size of INFO columns, in bytes.
Definition: pfs_column_types.h:70
Performance schema tables (declarations).
Performance schema system and status variables (declarations).
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 of table PERFORMANCE_SCHEMA.VARIABLES_INFO.
Definition: table_variables_info.h:50
char m_variable_name[COL_SOURCE_SIZE]
Column VARIABLE_NAME.
Definition: table_variables_info.h:52
char m_set_host_str[HOSTNAME_LENGTH]
Column SET_HOST.
Definition: table_variables_info.h:71
uint m_min_value_length
Definition: table_variables_info.h:61
uint m_variable_path_length
Definition: table_variables_info.h:58
enum_variable_source m_variable_source
Column VARIABLE_SOURCE.
Definition: table_variables_info.h:55
char m_max_value[COL_SOURCE_SIZE]
Column MAX_VALUE.
Definition: table_variables_info.h:63
uint m_set_user_str_length
Definition: table_variables_info.h:69
uint m_variable_name_length
Definition: table_variables_info.h:53
char m_variable_path[COL_INFO_SIZE]
Column VARIABLE_PATH.
Definition: table_variables_info.h:57
uint m_max_value_length
Definition: table_variables_info.h:64
char m_set_user_str[USERNAME_LENGTH]
Column SET_USER.
Definition: table_variables_info.h:68
ulonglong m_set_time
Column SET_TIME.
Definition: table_variables_info.h:66
char m_min_value[COL_SOURCE_SIZE]
Column MIN_VALUE.
Definition: table_variables_info.h:60
uint m_set_host_str_length
Definition: table_variables_info.h:72
enum_variable_source
This enum values define how system variables are set.
Definition: system_variable_source_type.h:32
unsigned int uint
Definition: uca-dump.cc:29