MySQL 8.4.2
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_utf8mb4_v1 (PSI_field *f, const char *value, uint len)
 
void get_field_char_utf8mb4_v1 (PSI_field *f, char *val, uint *len)
 
void set_field_varchar_utf8mb4_len_v1 (PSI_field *f, const char *str, uint len)
 
void set_field_varchar_utf8mb4_v1 (PSI_field *f, const char *str)
 
void get_field_varchar_utf8mb4_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_text_v1 (PSI_field *f, const char *val, uint len)
 
void get_field_text_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_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_v2_t imp_performance_schema_pfs_plugin_column_string_v2
 
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
 
const mysql_service_pfs_plugin_column_text_v1_t imp_performance_schema_pfs_plugin_column_text_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_utf8mb4_v1()

void get_field_char_utf8mb4_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_text_v1()

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

◆ 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_utf8mb4_v1()

void get_field_varchar_utf8mb4_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_utf8mb4_v1()

void set_field_char_utf8mb4_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_text_v1()

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

◆ 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_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:868
void read_key_ubigint_v1(PSI_key_reader *reader, PSI_plugin_key_ubigint *key, int find_flag)
Definition: pfs_plugin_table.cc:901
bool match_key_ubigint_v1(bool record_null, unsigned long long record_value, PSI_plugin_key_ubigint *key)
Definition: pfs_plugin_table.cc:919
void set_field_ubigint_v1(PSI_field *f, PSI_ubigint value)
Definition: pfs_plugin_table.cc:859
bool match_key_bigint_v1(bool record_null, long long record_value, PSI_plugin_key_bigint *key)
Definition: pfs_plugin_table.cc:912
void get_field_ubigint_v1(PSI_field *f, PSI_ubigint *value)
Definition: pfs_plugin_table.cc:879
void set_field_bigint_v1(PSI_field *f, PSI_bigint value)
Definition: pfs_plugin_table.cc:850
void read_key_bigint_v1(PSI_key_reader *reader, PSI_plugin_key_bigint *key, int find_flag)
Definition: pfs_plugin_table.cc:890

◆ 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:1130
void set_field_date_v1(PSI_field *f, const char *value, uint len)
Definition: pfs_plugin_table.cc:1121

◆ 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:1171
void get_field_datetime_v1(PSI_field *f, char *val, uint *len)
Definition: pfs_plugin_table.cc:1180

◆ 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:938
void set_field_decimal_v1(PSI_field *f, PSI_double value)
Definition: pfs_plugin_table.cc:929

◆ 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:975
void get_field_double_v1(PSI_field *f, PSI_double *value)
Definition: pfs_plugin_table.cc:984

◆ 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:1107
void set_field_enum_v1(PSI_field *f, PSI_enum value)
Definition: pfs_plugin_table.cc:1098

◆ 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:961
void set_field_float_v1(PSI_field *f, PSI_double value)
Definition: pfs_plugin_table.cc:952

◆ 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:771
void read_key_uinteger_v1(PSI_key_reader *reader, PSI_plugin_key_uinteger *key, int find_flag)
Definition: pfs_plugin_table.cc:822
void read_key_integer_v1(PSI_key_reader *reader, PSI_plugin_key_integer *key, int find_flag)
Definition: pfs_plugin_table.cc:811
void get_field_uinteger_v1(PSI_field *f, PSI_int *value)
Definition: pfs_plugin_table.cc:800
void get_field_integer_v1(PSI_field *f, PSI_int *value)
Definition: pfs_plugin_table.cc:789
bool match_key_integer_v1(bool record_null, long record_value, PSI_plugin_key_integer *key)
Definition: pfs_plugin_table.cc:833
bool match_key_uinteger_v1(bool record_null, unsigned long record_value, PSI_plugin_key_uinteger *key)
Definition: pfs_plugin_table.cc:840
void set_field_uinteger_v1(PSI_field *f, PSI_uint value)
Definition: pfs_plugin_table.cc:780

◆ 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:701
void get_field_umediumint_v1(PSI_field *f, PSI_umediumint *value)
Definition: pfs_plugin_table.cc:721
void read_key_mediumint_v1(PSI_key_reader *reader, PSI_plugin_key_mediumint *key, int find_flag)
Definition: pfs_plugin_table.cc:732
void get_field_mediumint_v1(PSI_field *f, PSI_mediumint *value)
Definition: pfs_plugin_table.cc:710
bool match_key_umediumint_v1(bool record_null, unsigned long record_value, PSI_plugin_key_umediumint *key)
Definition: pfs_plugin_table.cc:761
bool match_key_mediumint_v1(bool record_null, long record_value, PSI_plugin_key_mediumint *key)
Definition: pfs_plugin_table.cc:754
void set_field_mediumint_v1(PSI_field *f, PSI_mediumint value)
Definition: pfs_plugin_table.cc:692
void read_key_umediumint_v1(PSI_key_reader *reader, PSI_plugin_key_umediumint *key, int find_flag)
Definition: pfs_plugin_table.cc:743

◆ 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:622
void read_key_smallint_v1(PSI_key_reader *reader, PSI_plugin_key_smallint *key, int find_flag)
Definition: pfs_plugin_table.cc:653
void get_field_usmallint_v1(PSI_field *f, PSI_usmallint *value)
Definition: pfs_plugin_table.cc:642
void get_field_smallint_v1(PSI_field *f, PSI_smallint *value)
Definition: pfs_plugin_table.cc:631
void set_field_smallint_v1(PSI_field *f, PSI_smallint value)
Definition: pfs_plugin_table.cc:613
bool match_key_smallint_v1(bool record_null, long record_value, PSI_plugin_key_smallint *key)
Definition: pfs_plugin_table.cc:675
bool match_key_usmallint_v1(bool record_null, unsigned long record_value, PSI_plugin_key_usmallint *key)
Definition: pfs_plugin_table.cc:682
void read_key_usmallint_v1(PSI_key_reader *reader, PSI_plugin_key_usmallint *key, int find_flag)
Definition: pfs_plugin_table.cc:664

◆ imp_performance_schema_pfs_plugin_column_string_v2

const mysql_service_pfs_plugin_column_string_v2_t imp_performance_schema_pfs_plugin_column_string_v2
Initial value:
= {
}
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:1273
void get_field_varchar_utf8mb4_v1(PSI_field *f, char *val, uint *len)
Definition: pfs_plugin_table.cc:1041
void get_field_char_utf8mb4_v1(PSI_field *f, char *val, uint *len)
Definition: pfs_plugin_table.cc:1007
void set_field_varchar_utf8mb4_len_v1(PSI_field *f, const char *str, uint len)
Definition: pfs_plugin_table.cc:1023
void read_key_string_v1(PSI_key_reader *reader, PSI_plugin_key_string *key, int find_flag)
Definition: pfs_plugin_table.cc:1263
void set_field_char_utf8mb4_v1(PSI_field *f, const char *value, uint len)
Definition: pfs_plugin_table.cc:998
void set_field_varchar_utf8mb4_v1(PSI_field *f, const char *str)
Definition: pfs_plugin_table.cc:1032

◆ imp_performance_schema_pfs_plugin_column_text_v1

const mysql_service_pfs_plugin_column_text_v1_t imp_performance_schema_pfs_plugin_column_text_v1
Initial value:
= {
}
void get_field_text_v1(PSI_field *f, char *val, uint *len)
Definition: pfs_plugin_table.cc:1091
void set_field_text_v1(PSI_field *f, const char *val, uint len)
Definition: pfs_plugin_table.cc:1082

◆ 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:1146
void get_field_time_v1(PSI_field *f, char *val, uint *len)
Definition: pfs_plugin_table.cc:1155

◆ 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:1196
void get_field_timestamp_v1(PSI_field *f, char *val, uint *len)
Definition: pfs_plugin_table.cc:1214

◆ 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:1205

◆ 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:543
void read_key_tinyint_v1(PSI_key_reader *reader, PSI_plugin_key_tinyint *key, int find_flag)
Definition: pfs_plugin_table.cc:574
void set_field_tinyint_v1(PSI_field *f, PSI_tinyint value)
Definition: pfs_plugin_table.cc:534
bool match_key_tinyint_v1(bool record_null, long record_value, PSI_plugin_key_tinyint *key)
Definition: pfs_plugin_table.cc:596
void read_key_utinyint_v1(PSI_key_reader *reader, PSI_plugin_key_utinyint *key, int find_flag)
Definition: pfs_plugin_table.cc:585
void get_field_tinyint_v1(PSI_field *f, PSI_tinyint *value)
Definition: pfs_plugin_table.cc:552
bool match_key_utinyint_v1(bool record_null, unsigned long record_value, PSI_plugin_key_utinyint *key)
Definition: pfs_plugin_table.cc:603
void get_field_utinyint_v1(PSI_field *f, PSI_utinyint *value)
Definition: pfs_plugin_table.cc:563

◆ 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:1230
void get_field_year_v1(PSI_field *f, PSI_year *value)
Definition: pfs_plugin_table.cc:1239

◆ 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:1258
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:368
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:468

◆ plugin_table_service_initialized

bool plugin_table_service_initialized = false