MySQL 8.0.29
Source Code Documentation
pfs_plugin_table.cc File Reference

The performance schema implementation of plugin table. More...

Functions

static int write_row (PFS_engine_table *pfs_table, TABLE *table, unsigned char *buf, Field **fields)
 Traverse all fields one by one and pass the values to be inserted to plugin's/component's write_row() implementation. More...
 
static int initialize_table_share (PFS_engine_table_share *share, PFS_engine_table_share_proxy *proxy_share)
 Initialize table share when table is being added. More...
 
static void destroy_table_share (PFS_engine_table_share *share)
 Destroy a table share. More...
 
static int pfs_add_tables_v1 (PFS_engine_table_share_proxy **st_share_list, uint share_list_count)
 Add plugin/component tables in performance schema. More...
 
static int pfs_delete_tables_v1 (PFS_engine_table_share_proxy **st_share_list, uint share_list_count)
 Delete plugin/component tables form performance schema. More...
 
void set_field_tinyint_v1 (PSI_field *f, PSI_tinyint value)
 
void set_field_utinyint_v1 (PSI_field *f, PSI_utinyint value)
 
void get_field_tinyint_v1 (PSI_field *f, PSI_tinyint *value)
 
void get_field_utinyint_v1 (PSI_field *f, PSI_utinyint *value)
 
void read_key_tinyint_v1 (PSI_key_reader *reader, PSI_plugin_key_tinyint *key, int find_flag)
 
void read_key_utinyint_v1 (PSI_key_reader *reader, PSI_plugin_key_utinyint *key, int find_flag)
 
bool match_key_tinyint_v1 (bool record_null, long record_value, PSI_plugin_key_tinyint *key)
 
bool match_key_utinyint_v1 (bool record_null, unsigned long record_value, PSI_plugin_key_utinyint *key)
 
void set_field_smallint_v1 (PSI_field *f, PSI_smallint value)
 
void set_field_usmallint_v1 (PSI_field *f, PSI_usmallint value)
 
void get_field_smallint_v1 (PSI_field *f, PSI_smallint *value)
 
void get_field_usmallint_v1 (PSI_field *f, PSI_usmallint *value)
 
void read_key_smallint_v1 (PSI_key_reader *reader, PSI_plugin_key_smallint *key, int find_flag)
 
void read_key_usmallint_v1 (PSI_key_reader *reader, PSI_plugin_key_usmallint *key, int find_flag)
 
bool match_key_smallint_v1 (bool record_null, long record_value, PSI_plugin_key_smallint *key)
 
bool match_key_usmallint_v1 (bool record_null, unsigned long record_value, PSI_plugin_key_usmallint *key)
 
void set_field_mediumint_v1 (PSI_field *f, PSI_mediumint value)
 
void set_field_umediumint_v1 (PSI_field *f, PSI_umediumint value)
 
void get_field_mediumint_v1 (PSI_field *f, PSI_mediumint *value)
 
void get_field_umediumint_v1 (PSI_field *f, PSI_umediumint *value)
 
void read_key_mediumint_v1 (PSI_key_reader *reader, PSI_plugin_key_mediumint *key, int find_flag)
 
void read_key_umediumint_v1 (PSI_key_reader *reader, PSI_plugin_key_umediumint *key, int find_flag)
 
bool match_key_mediumint_v1 (bool record_null, long record_value, PSI_plugin_key_mediumint *key)
 
bool match_key_umediumint_v1 (bool record_null, unsigned long record_value, PSI_plugin_key_umediumint *key)
 
void set_field_integer_v1 (PSI_field *f, PSI_int value)
 
void set_field_uinteger_v1 (PSI_field *f, PSI_uint value)
 
void get_field_integer_v1 (PSI_field *f, PSI_int *value)
 
void get_field_uinteger_v1 (PSI_field *f, PSI_int *value)
 
void read_key_integer_v1 (PSI_key_reader *reader, PSI_plugin_key_integer *key, int find_flag)
 
void read_key_uinteger_v1 (PSI_key_reader *reader, PSI_plugin_key_uinteger *key, int find_flag)
 
bool match_key_integer_v1 (bool record_null, long record_value, PSI_plugin_key_integer *key)
 
bool match_key_uinteger_v1 (bool record_null, unsigned long record_value, PSI_plugin_key_uinteger *key)
 
void set_field_bigint_v1 (PSI_field *f, PSI_bigint value)
 
void set_field_ubigint_v1 (PSI_field *f, PSI_ubigint value)
 
void get_field_bigint_v1 (PSI_field *f, PSI_bigint *value)
 
void get_field_ubigint_v1 (PSI_field *f, PSI_ubigint *value)
 
void read_key_bigint_v1 (PSI_key_reader *reader, PSI_plugin_key_bigint *key, int find_flag)
 
void read_key_ubigint_v1 (PSI_key_reader *reader, PSI_plugin_key_ubigint *key, int find_flag)
 
bool match_key_bigint_v1 (bool record_null, long long record_value, PSI_plugin_key_bigint *key)
 
bool match_key_ubigint_v1 (bool record_null, unsigned long long record_value, PSI_plugin_key_ubigint *key)
 
void set_field_decimal_v1 (PSI_field *f, PSI_double value)
 
void get_field_decimal_v1 (PSI_field *f, PSI_double *value)
 
void set_field_float_v1 (PSI_field *f, PSI_double value)
 
void get_field_float_v1 (PSI_field *f, PSI_double *value)
 
void set_field_double_v1 (PSI_field *f, PSI_double value)
 
void get_field_double_v1 (PSI_field *f, PSI_double *value)
 
void set_field_char_utf8_v1 (PSI_field *f, const char *value, uint len)
 
void get_field_char_utf8_v1 (PSI_field *f, char *val, uint *len)
 
void set_field_varchar_utf8_len_v1 (PSI_field *f, const char *str, uint len)
 
void set_field_varchar_utf8mb4_len_v1 (PSI_field *f, const char *str, uint len)
 
void set_field_varchar_utf8_v1 (PSI_field *f, const char *str)
 
void set_field_varchar_utf8mb4_v1 (PSI_field *f, const char *str)
 
void get_field_varchar_utf8_v1 (PSI_field *f, char *val, uint *len)
 
void set_field_blob_v1 (PSI_field *f, const char *val, uint len)
 
void get_field_blob_v1 (PSI_field *f, char *val, uint *len)
 
void set_field_enum_v1 (PSI_field *f, PSI_enum value)
 
void get_field_enum_v1 (PSI_field *f, PSI_enum *value)
 
void set_field_date_v1 (PSI_field *f, const char *value, uint len)
 
void get_field_date_v1 (PSI_field *f, char *val, uint *len)
 
void set_field_time_v1 (PSI_field *f, const char *value, uint len)
 
void get_field_time_v1 (PSI_field *f, char *val, uint *len)
 
void set_field_datetime_v1 (PSI_field *f, const char *value, uint len)
 
void get_field_datetime_v1 (PSI_field *f, char *val, uint *len)
 
void set_field_timestamp_v1 (PSI_field *f, const char *value, uint len)
 
void set_field_timestamp2_v1 (PSI_field *f, ulonglong value)
 
void get_field_timestamp_v1 (PSI_field *f, char *val, uint *len)
 
void set_field_year_v1 (PSI_field *f, PSI_year value)
 
void get_field_year_v1 (PSI_field *f, PSI_year *value)
 
void set_field_null_v1 (PSI_field *f)
 
unsigned int get_parts_found_v1 (PSI_key_reader *reader)
 
void read_key_string_v1 (PSI_key_reader *reader, PSI_plugin_key_string *key, int find_flag)
 
bool match_key_string_v1 (bool record_null, const char *record_string_value, unsigned int record_string_length, PSI_plugin_key_string *key)
 
void init_pfs_plugin_table ()
 
void cleanup_pfs_plugin_table ()
 

Variables

bool plugin_table_service_initialized = false
 
const mysql_service_pfs_plugin_table_t imp_performance_schema_pfs_plugin_table
 
const mysql_service_pfs_plugin_table_v1_t imp_performance_schema_pfs_plugin_table_v1
 
const mysql_service_pfs_plugin_column_tiny_v1_t imp_performance_schema_pfs_plugin_column_tiny_v1
 
const mysql_service_pfs_plugin_column_small_v1_t imp_performance_schema_pfs_plugin_column_small_v1
 
const mysql_service_pfs_plugin_column_medium_v1_t imp_performance_schema_pfs_plugin_column_medium_v1
 
const mysql_service_pfs_plugin_column_integer_v1_t imp_performance_schema_pfs_plugin_column_integer_v1
 
const mysql_service_pfs_plugin_column_bigint_v1_t imp_performance_schema_pfs_plugin_column_bigint_v1
 
const mysql_service_pfs_plugin_column_decimal_v1_t imp_performance_schema_pfs_plugin_column_decimal_v1
 
const mysql_service_pfs_plugin_column_float_v1_t imp_performance_schema_pfs_plugin_column_float_v1
 
const mysql_service_pfs_plugin_column_double_v1_t imp_performance_schema_pfs_plugin_column_double_v1
 
const mysql_service_pfs_plugin_column_string_v1_t imp_performance_schema_pfs_plugin_column_string_v1
 
const mysql_service_pfs_plugin_column_blob_v1_t imp_performance_schema_pfs_plugin_column_blob_v1
 
const mysql_service_pfs_plugin_column_enum_v1_t imp_performance_schema_pfs_plugin_column_enum_v1
 
const mysql_service_pfs_plugin_column_date_v1_t imp_performance_schema_pfs_plugin_column_date_v1
 
const mysql_service_pfs_plugin_column_time_v1_t imp_performance_schema_pfs_plugin_column_time_v1
 
const mysql_service_pfs_plugin_column_datetime_v1_t imp_performance_schema_pfs_plugin_column_datetime_v1
 
const mysql_service_pfs_plugin_column_timestamp_v1_t imp_performance_schema_pfs_plugin_column_timestamp_v1
 
const mysql_service_pfs_plugin_column_timestamp_v2_t imp_performance_schema_pfs_plugin_column_timestamp_v2
 
const mysql_service_pfs_plugin_column_year_v1_t imp_performance_schema_pfs_plugin_column_year_v1
 

Detailed Description

The performance schema implementation of plugin table.

Function Documentation

◆ cleanup_pfs_plugin_table()

void cleanup_pfs_plugin_table ( )

◆ destroy_table_share()

static void destroy_table_share ( PFS_engine_table_share share)
static

Destroy a table share.

Parameters
shareshare to be destroyed.

◆ get_field_bigint_v1()

void get_field_bigint_v1 ( PSI_field f,
PSI_bigint value 
)

◆ get_field_blob_v1()

void get_field_blob_v1 ( PSI_field f,
char *  val,
uint len 
)

◆ get_field_char_utf8_v1()

void get_field_char_utf8_v1 ( PSI_field f,
char *  val,
uint len 
)

◆ get_field_date_v1()

void get_field_date_v1 ( PSI_field f,
char *  val,
uint len 
)

◆ get_field_datetime_v1()

void get_field_datetime_v1 ( PSI_field f,
char *  val,
uint len 
)

◆ get_field_decimal_v1()

void get_field_decimal_v1 ( PSI_field f,
PSI_double value 
)

◆ get_field_double_v1()

void get_field_double_v1 ( PSI_field f,
PSI_double value 
)

◆ get_field_enum_v1()

void get_field_enum_v1 ( PSI_field f,
PSI_enum value 
)

◆ get_field_float_v1()

void get_field_float_v1 ( PSI_field f,
PSI_double value 
)

◆ get_field_integer_v1()

void get_field_integer_v1 ( PSI_field f,
PSI_int value 
)

◆ get_field_mediumint_v1()

void get_field_mediumint_v1 ( PSI_field f,
PSI_mediumint value 
)

◆ get_field_smallint_v1()

void get_field_smallint_v1 ( PSI_field f,
PSI_smallint value 
)

◆ get_field_time_v1()

void get_field_time_v1 ( PSI_field f,
char *  val,
uint len 
)

◆ get_field_timestamp_v1()

void get_field_timestamp_v1 ( PSI_field f,
char *  val,
uint len 
)

◆ get_field_tinyint_v1()

void get_field_tinyint_v1 ( PSI_field f,
PSI_tinyint value 
)

◆ get_field_ubigint_v1()

void get_field_ubigint_v1 ( PSI_field f,
PSI_ubigint value 
)

◆ get_field_uinteger_v1()

void get_field_uinteger_v1 ( PSI_field f,
PSI_int value 
)

◆ get_field_umediumint_v1()

void get_field_umediumint_v1 ( PSI_field f,
PSI_umediumint value 
)

◆ get_field_usmallint_v1()

void get_field_usmallint_v1 ( PSI_field f,
PSI_usmallint value 
)

◆ get_field_utinyint_v1()

void get_field_utinyint_v1 ( PSI_field f,
PSI_utinyint value 
)

◆ get_field_varchar_utf8_v1()

void get_field_varchar_utf8_v1 ( PSI_field f,
char *  val,
uint len 
)

◆ get_field_year_v1()

void get_field_year_v1 ( PSI_field f,
PSI_year value 
)

◆ get_parts_found_v1()

unsigned int get_parts_found_v1 ( PSI_key_reader reader)

◆ init_pfs_plugin_table()

void init_pfs_plugin_table ( )

◆ initialize_table_share()

static int initialize_table_share ( PFS_engine_table_share share,
PFS_engine_table_share_proxy proxy_share 
)
static

Initialize table share when table is being added.

Parameters
sharetable share to be initialized
proxy_shareProxy shared passed from plugin/component

return 0 for success

◆ match_key_bigint_v1()

bool match_key_bigint_v1 ( bool  record_null,
long long  record_value,
PSI_plugin_key_bigint key 
)

◆ match_key_integer_v1()

bool match_key_integer_v1 ( bool  record_null,
long  record_value,
PSI_plugin_key_integer key 
)

◆ match_key_mediumint_v1()

bool match_key_mediumint_v1 ( bool  record_null,
long  record_value,
PSI_plugin_key_mediumint key 
)

◆ match_key_smallint_v1()

bool match_key_smallint_v1 ( bool  record_null,
long  record_value,
PSI_plugin_key_smallint key 
)

◆ match_key_string_v1()

bool match_key_string_v1 ( bool  record_null,
const char *  record_string_value,
unsigned int  record_string_length,
PSI_plugin_key_string key 
)

◆ match_key_tinyint_v1()

bool match_key_tinyint_v1 ( bool  record_null,
long  record_value,
PSI_plugin_key_tinyint key 
)

◆ match_key_ubigint_v1()

bool match_key_ubigint_v1 ( bool  record_null,
unsigned long long  record_value,
PSI_plugin_key_ubigint key 
)

◆ match_key_uinteger_v1()

bool match_key_uinteger_v1 ( bool  record_null,
unsigned long  record_value,
PSI_plugin_key_uinteger key 
)

◆ match_key_umediumint_v1()

bool match_key_umediumint_v1 ( bool  record_null,
unsigned long  record_value,
PSI_plugin_key_umediumint key 
)

◆ match_key_usmallint_v1()

bool match_key_usmallint_v1 ( bool  record_null,
unsigned long  record_value,
PSI_plugin_key_usmallint key 
)

◆ match_key_utinyint_v1()

bool match_key_utinyint_v1 ( bool  record_null,
unsigned long  record_value,
PSI_plugin_key_utinyint key 
)

◆ pfs_add_tables_v1()

static int pfs_add_tables_v1 ( PFS_engine_table_share_proxy **  st_share_list,
uint  share_list_count 
)
static

Add plugin/component tables in performance schema.

Parameters
st_share_listList of PFS_engine_table_share_proxy instances initialized/populated by plugin/component.
share_list_countNumber of shares in the list
Returns
0 for success.

◆ pfs_delete_tables_v1()

static int pfs_delete_tables_v1 ( PFS_engine_table_share_proxy **  st_share_list,
uint  share_list_count 
)
static

Delete plugin/component tables form performance schema.

Parameters
st_share_listList of PFS_engine_table_share_proxy instances initialized/populated by plugin/component.
share_list_countNumber of shares in the list
Returns
0 for success

◆ read_key_bigint_v1()

void read_key_bigint_v1 ( PSI_key_reader reader,
PSI_plugin_key_bigint key,
int  find_flag 
)

◆ read_key_integer_v1()

void read_key_integer_v1 ( PSI_key_reader reader,
PSI_plugin_key_integer key,
int  find_flag 
)

◆ read_key_mediumint_v1()

void read_key_mediumint_v1 ( PSI_key_reader reader,
PSI_plugin_key_mediumint key,
int  find_flag 
)

◆ read_key_smallint_v1()

void read_key_smallint_v1 ( PSI_key_reader reader,
PSI_plugin_key_smallint key,
int  find_flag 
)

◆ read_key_string_v1()

void read_key_string_v1 ( PSI_key_reader reader,
PSI_plugin_key_string key,
int  find_flag 
)

◆ read_key_tinyint_v1()

void read_key_tinyint_v1 ( PSI_key_reader reader,
PSI_plugin_key_tinyint key,
int  find_flag 
)

◆ read_key_ubigint_v1()

void read_key_ubigint_v1 ( PSI_key_reader reader,
PSI_plugin_key_ubigint key,
int  find_flag 
)

◆ read_key_uinteger_v1()

void read_key_uinteger_v1 ( PSI_key_reader reader,
PSI_plugin_key_uinteger key,
int  find_flag 
)

◆ read_key_umediumint_v1()

void read_key_umediumint_v1 ( PSI_key_reader reader,
PSI_plugin_key_umediumint key,
int  find_flag 
)

◆ read_key_usmallint_v1()

void read_key_usmallint_v1 ( PSI_key_reader reader,
PSI_plugin_key_usmallint key,
int  find_flag 
)

◆ read_key_utinyint_v1()

void read_key_utinyint_v1 ( PSI_key_reader reader,
PSI_plugin_key_utinyint key,
int  find_flag 
)

◆ set_field_bigint_v1()

void set_field_bigint_v1 ( PSI_field f,
PSI_bigint  value 
)

◆ set_field_blob_v1()

void set_field_blob_v1 ( PSI_field f,
const char *  val,
uint  len 
)

◆ set_field_char_utf8_v1()

void set_field_char_utf8_v1 ( PSI_field f,
const char *  value,
uint  len 
)

◆ set_field_date_v1()

void set_field_date_v1 ( PSI_field f,
const char *  value,
uint  len 
)

◆ set_field_datetime_v1()

void set_field_datetime_v1 ( PSI_field f,
const char *  value,
uint  len 
)

◆ set_field_decimal_v1()

void set_field_decimal_v1 ( PSI_field f,
PSI_double  value 
)

◆ set_field_double_v1()

void set_field_double_v1 ( PSI_field f,
PSI_double  value 
)

◆ set_field_enum_v1()

void set_field_enum_v1 ( PSI_field f,
PSI_enum  value 
)

◆ set_field_float_v1()

void set_field_float_v1 ( PSI_field f,
PSI_double  value 
)

◆ set_field_integer_v1()

void set_field_integer_v1 ( PSI_field f,
PSI_int  value 
)

◆ set_field_mediumint_v1()

void set_field_mediumint_v1 ( PSI_field f,
PSI_mediumint  value 
)

◆ set_field_null_v1()

void set_field_null_v1 ( PSI_field f)

◆ set_field_smallint_v1()

void set_field_smallint_v1 ( PSI_field f,
PSI_smallint  value 
)

◆ set_field_time_v1()

void set_field_time_v1 ( PSI_field f,
const char *  value,
uint  len 
)

◆ set_field_timestamp2_v1()

void set_field_timestamp2_v1 ( PSI_field f,
ulonglong  value 
)

◆ set_field_timestamp_v1()

void set_field_timestamp_v1 ( PSI_field f,
const char *  value,
uint  len 
)

◆ set_field_tinyint_v1()

void set_field_tinyint_v1 ( PSI_field f,
PSI_tinyint  value 
)

◆ set_field_ubigint_v1()

void set_field_ubigint_v1 ( PSI_field f,
PSI_ubigint  value 
)

◆ set_field_uinteger_v1()

void set_field_uinteger_v1 ( PSI_field f,
PSI_uint  value 
)

◆ set_field_umediumint_v1()

void set_field_umediumint_v1 ( PSI_field f,
PSI_umediumint  value 
)

◆ set_field_usmallint_v1()

void set_field_usmallint_v1 ( PSI_field f,
PSI_usmallint  value 
)

◆ set_field_utinyint_v1()

void set_field_utinyint_v1 ( PSI_field f,
PSI_utinyint  value 
)

◆ set_field_varchar_utf8_len_v1()

void set_field_varchar_utf8_len_v1 ( PSI_field f,
const char *  str,
uint  len 
)

◆ set_field_varchar_utf8_v1()

void set_field_varchar_utf8_v1 ( PSI_field f,
const char *  str 
)

◆ set_field_varchar_utf8mb4_len_v1()

void set_field_varchar_utf8mb4_len_v1 ( PSI_field f,
const char *  str,
uint  len 
)

◆ set_field_varchar_utf8mb4_v1()

void set_field_varchar_utf8mb4_v1 ( PSI_field f,
const char *  str 
)

◆ set_field_year_v1()

void set_field_year_v1 ( PSI_field f,
PSI_year  value 
)

◆ write_row()

static int write_row ( PFS_engine_table pfs_table,
TABLE table,
unsigned char *  buf,
Field **  fields 
)
static

Traverse all fields one by one and pass the values to be inserted to plugin's/component's write_row() implementation.

Parameters
pfs_tablePFS table handle.
tableServer table in which data is to be inserted.
bufBuffer (not used)
fieldsArray of fields in the table

Variable Documentation

◆ imp_performance_schema_pfs_plugin_column_bigint_v1

const mysql_service_pfs_plugin_column_bigint_v1_t imp_performance_schema_pfs_plugin_column_bigint_v1
Initial value:
= {
}
void get_field_bigint_v1(PSI_field *f, PSI_bigint *value)
Definition: pfs_plugin_table.cc:850
void read_key_ubigint_v1(PSI_key_reader *reader, PSI_plugin_key_ubigint *key, int find_flag)
Definition: pfs_plugin_table.cc:883
bool match_key_ubigint_v1(bool record_null, unsigned long long record_value, PSI_plugin_key_ubigint *key)
Definition: pfs_plugin_table.cc:901
void set_field_ubigint_v1(PSI_field *f, PSI_ubigint value)
Definition: pfs_plugin_table.cc:841
bool match_key_bigint_v1(bool record_null, long long record_value, PSI_plugin_key_bigint *key)
Definition: pfs_plugin_table.cc:894
void get_field_ubigint_v1(PSI_field *f, PSI_ubigint *value)
Definition: pfs_plugin_table.cc:861
void set_field_bigint_v1(PSI_field *f, PSI_bigint value)
Definition: pfs_plugin_table.cc:832
void read_key_bigint_v1(PSI_key_reader *reader, PSI_plugin_key_bigint *key, int find_flag)
Definition: pfs_plugin_table.cc:872

◆ imp_performance_schema_pfs_plugin_column_blob_v1

const mysql_service_pfs_plugin_column_blob_v1_t imp_performance_schema_pfs_plugin_column_blob_v1
Initial value:
= {
}
void get_field_blob_v1(PSI_field *f, char *val, uint *len)
Definition: pfs_plugin_table.cc:1066
void set_field_blob_v1(PSI_field *f, const char *val, uint len)
Definition: pfs_plugin_table.cc:1057

◆ imp_performance_schema_pfs_plugin_column_date_v1

const mysql_service_pfs_plugin_column_date_v1_t imp_performance_schema_pfs_plugin_column_date_v1
Initial value:
= {
}
void get_field_date_v1(PSI_field *f, char *val, uint *len)
Definition: pfs_plugin_table.cc:1114
void set_field_date_v1(PSI_field *f, const char *value, uint len)
Definition: pfs_plugin_table.cc:1105

◆ imp_performance_schema_pfs_plugin_column_datetime_v1

const mysql_service_pfs_plugin_column_datetime_v1_t imp_performance_schema_pfs_plugin_column_datetime_v1
Initial value:
= {
}
void set_field_datetime_v1(PSI_field *f, const char *value, uint len)
Definition: pfs_plugin_table.cc:1155
void get_field_datetime_v1(PSI_field *f, char *val, uint *len)
Definition: pfs_plugin_table.cc:1164

◆ imp_performance_schema_pfs_plugin_column_decimal_v1

const mysql_service_pfs_plugin_column_decimal_v1_t imp_performance_schema_pfs_plugin_column_decimal_v1
Initial value:
= {
}
void get_field_decimal_v1(PSI_field *f, PSI_double *value)
Definition: pfs_plugin_table.cc:920
void set_field_decimal_v1(PSI_field *f, PSI_double value)
Definition: pfs_plugin_table.cc:911

◆ imp_performance_schema_pfs_plugin_column_double_v1

const mysql_service_pfs_plugin_column_double_v1_t imp_performance_schema_pfs_plugin_column_double_v1
Initial value:
= {
}
void set_field_double_v1(PSI_field *f, PSI_double value)
Definition: pfs_plugin_table.cc:957
void get_field_double_v1(PSI_field *f, PSI_double *value)
Definition: pfs_plugin_table.cc:966

◆ imp_performance_schema_pfs_plugin_column_enum_v1

const mysql_service_pfs_plugin_column_enum_v1_t imp_performance_schema_pfs_plugin_column_enum_v1
Initial value:
= {
}
void get_field_enum_v1(PSI_field *f, PSI_enum *value)
Definition: pfs_plugin_table.cc:1091
void set_field_enum_v1(PSI_field *f, PSI_enum value)
Definition: pfs_plugin_table.cc:1082

◆ imp_performance_schema_pfs_plugin_column_float_v1

const mysql_service_pfs_plugin_column_float_v1_t imp_performance_schema_pfs_plugin_column_float_v1
Initial value:
= {
}
void get_field_float_v1(PSI_field *f, PSI_double *value)
Definition: pfs_plugin_table.cc:943
void set_field_float_v1(PSI_field *f, PSI_double value)
Definition: pfs_plugin_table.cc:934

◆ imp_performance_schema_pfs_plugin_column_integer_v1

const mysql_service_pfs_plugin_column_integer_v1_t imp_performance_schema_pfs_plugin_column_integer_v1
Initial value:
= {
}
void set_field_integer_v1(PSI_field *f, PSI_int value)
Definition: pfs_plugin_table.cc:753
void read_key_uinteger_v1(PSI_key_reader *reader, PSI_plugin_key_uinteger *key, int find_flag)
Definition: pfs_plugin_table.cc:804
void read_key_integer_v1(PSI_key_reader *reader, PSI_plugin_key_integer *key, int find_flag)
Definition: pfs_plugin_table.cc:793
void get_field_uinteger_v1(PSI_field *f, PSI_int *value)
Definition: pfs_plugin_table.cc:782
void get_field_integer_v1(PSI_field *f, PSI_int *value)
Definition: pfs_plugin_table.cc:771
bool match_key_integer_v1(bool record_null, long record_value, PSI_plugin_key_integer *key)
Definition: pfs_plugin_table.cc:815
bool match_key_uinteger_v1(bool record_null, unsigned long record_value, PSI_plugin_key_uinteger *key)
Definition: pfs_plugin_table.cc:822
void set_field_uinteger_v1(PSI_field *f, PSI_uint value)
Definition: pfs_plugin_table.cc:762

◆ imp_performance_schema_pfs_plugin_column_medium_v1

const mysql_service_pfs_plugin_column_medium_v1_t imp_performance_schema_pfs_plugin_column_medium_v1
Initial value:
= {
}
void set_field_umediumint_v1(PSI_field *f, PSI_umediumint value)
Definition: pfs_plugin_table.cc:683
void get_field_umediumint_v1(PSI_field *f, PSI_umediumint *value)
Definition: pfs_plugin_table.cc:703
void read_key_mediumint_v1(PSI_key_reader *reader, PSI_plugin_key_mediumint *key, int find_flag)
Definition: pfs_plugin_table.cc:714
void get_field_mediumint_v1(PSI_field *f, PSI_mediumint *value)
Definition: pfs_plugin_table.cc:692
bool match_key_umediumint_v1(bool record_null, unsigned long record_value, PSI_plugin_key_umediumint *key)
Definition: pfs_plugin_table.cc:743
bool match_key_mediumint_v1(bool record_null, long record_value, PSI_plugin_key_mediumint *key)
Definition: pfs_plugin_table.cc:736
void set_field_mediumint_v1(PSI_field *f, PSI_mediumint value)
Definition: pfs_plugin_table.cc:674
void read_key_umediumint_v1(PSI_key_reader *reader, PSI_plugin_key_umediumint *key, int find_flag)
Definition: pfs_plugin_table.cc:725

◆ imp_performance_schema_pfs_plugin_column_small_v1

const mysql_service_pfs_plugin_column_small_v1_t imp_performance_schema_pfs_plugin_column_small_v1
Initial value:
= {
}
void set_field_usmallint_v1(PSI_field *f, PSI_usmallint value)
Definition: pfs_plugin_table.cc:604
void read_key_smallint_v1(PSI_key_reader *reader, PSI_plugin_key_smallint *key, int find_flag)
Definition: pfs_plugin_table.cc:635
void get_field_usmallint_v1(PSI_field *f, PSI_usmallint *value)
Definition: pfs_plugin_table.cc:624
void get_field_smallint_v1(PSI_field *f, PSI_smallint *value)
Definition: pfs_plugin_table.cc:613
void set_field_smallint_v1(PSI_field *f, PSI_smallint value)
Definition: pfs_plugin_table.cc:595
bool match_key_smallint_v1(bool record_null, long record_value, PSI_plugin_key_smallint *key)
Definition: pfs_plugin_table.cc:657
bool match_key_usmallint_v1(bool record_null, unsigned long record_value, PSI_plugin_key_usmallint *key)
Definition: pfs_plugin_table.cc:664
void read_key_usmallint_v1(PSI_key_reader *reader, PSI_plugin_key_usmallint *key, int find_flag)
Definition: pfs_plugin_table.cc:646

◆ imp_performance_schema_pfs_plugin_column_string_v1

const mysql_service_pfs_plugin_column_string_v1_t imp_performance_schema_pfs_plugin_column_string_v1
Initial value:
= {
}
void set_field_varchar_utf8_len_v1(PSI_field *f, const char *str, uint len)
Definition: pfs_plugin_table.cc:1005
void get_field_char_utf8_v1(PSI_field *f, char *val, uint *len)
Definition: pfs_plugin_table.cc:989
bool match_key_string_v1(bool record_null, const char *record_string_value, unsigned int record_string_length, PSI_plugin_key_string *key)
Definition: pfs_plugin_table.cc:1257
void set_field_varchar_utf8mb4_len_v1(PSI_field *f, const char *str, uint len)
Definition: pfs_plugin_table.cc:1014
void get_field_varchar_utf8_v1(PSI_field *f, char *val, uint *len)
Definition: pfs_plugin_table.cc:1041
void read_key_string_v1(PSI_key_reader *reader, PSI_plugin_key_string *key, int find_flag)
Definition: pfs_plugin_table.cc:1247
void set_field_varchar_utf8_v1(PSI_field *f, const char *str)
Definition: pfs_plugin_table.cc:1023
void set_field_char_utf8_v1(PSI_field *f, const char *value, uint len)
Definition: pfs_plugin_table.cc:980
void set_field_varchar_utf8mb4_v1(PSI_field *f, const char *str)
Definition: pfs_plugin_table.cc:1032

◆ imp_performance_schema_pfs_plugin_column_time_v1

const mysql_service_pfs_plugin_column_time_v1_t imp_performance_schema_pfs_plugin_column_time_v1
Initial value:
= {
}
void set_field_time_v1(PSI_field *f, const char *value, uint len)
Definition: pfs_plugin_table.cc:1130
void get_field_time_v1(PSI_field *f, char *val, uint *len)
Definition: pfs_plugin_table.cc:1139

◆ imp_performance_schema_pfs_plugin_column_timestamp_v1

const mysql_service_pfs_plugin_column_timestamp_v1_t imp_performance_schema_pfs_plugin_column_timestamp_v1
Initial value:
= {
}
void set_field_timestamp_v1(PSI_field *f, const char *value, uint len)
Definition: pfs_plugin_table.cc:1180
void get_field_timestamp_v1(PSI_field *f, char *val, uint *len)
Definition: pfs_plugin_table.cc:1198

◆ imp_performance_schema_pfs_plugin_column_timestamp_v2

const mysql_service_pfs_plugin_column_timestamp_v2_t imp_performance_schema_pfs_plugin_column_timestamp_v2
Initial value:
= {
}
void set_field_timestamp2_v1(PSI_field *f, ulonglong value)
Definition: pfs_plugin_table.cc:1189

◆ imp_performance_schema_pfs_plugin_column_tiny_v1

const mysql_service_pfs_plugin_column_tiny_v1_t imp_performance_schema_pfs_plugin_column_tiny_v1
Initial value:
= {
}
void set_field_utinyint_v1(PSI_field *f, PSI_utinyint value)
Definition: pfs_plugin_table.cc:525
void read_key_tinyint_v1(PSI_key_reader *reader, PSI_plugin_key_tinyint *key, int find_flag)
Definition: pfs_plugin_table.cc:556
void set_field_tinyint_v1(PSI_field *f, PSI_tinyint value)
Definition: pfs_plugin_table.cc:516
bool match_key_tinyint_v1(bool record_null, long record_value, PSI_plugin_key_tinyint *key)
Definition: pfs_plugin_table.cc:578
void read_key_utinyint_v1(PSI_key_reader *reader, PSI_plugin_key_utinyint *key, int find_flag)
Definition: pfs_plugin_table.cc:567
void get_field_tinyint_v1(PSI_field *f, PSI_tinyint *value)
Definition: pfs_plugin_table.cc:534
bool match_key_utinyint_v1(bool record_null, unsigned long record_value, PSI_plugin_key_utinyint *key)
Definition: pfs_plugin_table.cc:585
void get_field_utinyint_v1(PSI_field *f, PSI_utinyint *value)
Definition: pfs_plugin_table.cc:545

◆ imp_performance_schema_pfs_plugin_column_year_v1

const mysql_service_pfs_plugin_column_year_v1_t imp_performance_schema_pfs_plugin_column_year_v1
Initial value:
= {
}
void set_field_year_v1(PSI_field *f, PSI_year value)
Definition: pfs_plugin_table.cc:1214
void get_field_year_v1(PSI_field *f, PSI_year *value)
Definition: pfs_plugin_table.cc:1223

◆ imp_performance_schema_pfs_plugin_table

const mysql_service_pfs_plugin_table_t imp_performance_schema_pfs_plugin_table

◆ imp_performance_schema_pfs_plugin_table_v1

const mysql_service_pfs_plugin_table_v1_t imp_performance_schema_pfs_plugin_table_v1
Initial value:
= {
}
unsigned int get_parts_found_v1(PSI_key_reader *reader)
Definition: pfs_plugin_table.cc:1242
static int pfs_add_tables_v1(PFS_engine_table_share_proxy **st_share_list, uint share_list_count)
Add plugin/component tables in performance schema.
Definition: pfs_plugin_table.cc:350
static int pfs_delete_tables_v1(PFS_engine_table_share_proxy **st_share_list, uint share_list_count)
Delete plugin/component tables form performance schema.
Definition: pfs_plugin_table.cc:450

◆ plugin_table_service_initialized

bool plugin_table_service_initialized = false