MySQL 9.1.0
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 void 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 void 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

◆ 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:855
void read_key_ubigint_v1(PSI_key_reader *reader, PSI_plugin_key_ubigint *key, int find_flag)
Definition: pfs_plugin_table.cc:888
bool match_key_ubigint_v1(bool record_null, unsigned long long record_value, PSI_plugin_key_ubigint *key)
Definition: pfs_plugin_table.cc:906
void set_field_ubigint_v1(PSI_field *f, PSI_ubigint value)
Definition: pfs_plugin_table.cc:846
bool match_key_bigint_v1(bool record_null, long long record_value, PSI_plugin_key_bigint *key)
Definition: pfs_plugin_table.cc:899
void get_field_ubigint_v1(PSI_field *f, PSI_ubigint *value)
Definition: pfs_plugin_table.cc:866
void set_field_bigint_v1(PSI_field *f, PSI_bigint value)
Definition: pfs_plugin_table.cc:837
void read_key_bigint_v1(PSI_key_reader *reader, PSI_plugin_key_bigint *key, int find_flag)
Definition: pfs_plugin_table.cc:877

◆ 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:1053
void set_field_blob_v1(PSI_field *f, const char *val, uint len)
Definition: pfs_plugin_table.cc:1044

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

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

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

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

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

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

◆ 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:758
void read_key_uinteger_v1(PSI_key_reader *reader, PSI_plugin_key_uinteger *key, int find_flag)
Definition: pfs_plugin_table.cc:809
void read_key_integer_v1(PSI_key_reader *reader, PSI_plugin_key_integer *key, int find_flag)
Definition: pfs_plugin_table.cc:798
void get_field_uinteger_v1(PSI_field *f, PSI_int *value)
Definition: pfs_plugin_table.cc:787
void get_field_integer_v1(PSI_field *f, PSI_int *value)
Definition: pfs_plugin_table.cc:776
bool match_key_integer_v1(bool record_null, long record_value, PSI_plugin_key_integer *key)
Definition: pfs_plugin_table.cc:820
bool match_key_uinteger_v1(bool record_null, unsigned long record_value, PSI_plugin_key_uinteger *key)
Definition: pfs_plugin_table.cc:827
void set_field_uinteger_v1(PSI_field *f, PSI_uint value)
Definition: pfs_plugin_table.cc:767

◆ 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:688
void get_field_umediumint_v1(PSI_field *f, PSI_umediumint *value)
Definition: pfs_plugin_table.cc:708
void read_key_mediumint_v1(PSI_key_reader *reader, PSI_plugin_key_mediumint *key, int find_flag)
Definition: pfs_plugin_table.cc:719
void get_field_mediumint_v1(PSI_field *f, PSI_mediumint *value)
Definition: pfs_plugin_table.cc:697
bool match_key_umediumint_v1(bool record_null, unsigned long record_value, PSI_plugin_key_umediumint *key)
Definition: pfs_plugin_table.cc:748
bool match_key_mediumint_v1(bool record_null, long record_value, PSI_plugin_key_mediumint *key)
Definition: pfs_plugin_table.cc:741
void set_field_mediumint_v1(PSI_field *f, PSI_mediumint value)
Definition: pfs_plugin_table.cc:679
void read_key_umediumint_v1(PSI_key_reader *reader, PSI_plugin_key_umediumint *key, int find_flag)
Definition: pfs_plugin_table.cc:730

◆ 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:609
void read_key_smallint_v1(PSI_key_reader *reader, PSI_plugin_key_smallint *key, int find_flag)
Definition: pfs_plugin_table.cc:640
void get_field_usmallint_v1(PSI_field *f, PSI_usmallint *value)
Definition: pfs_plugin_table.cc:629
void get_field_smallint_v1(PSI_field *f, PSI_smallint *value)
Definition: pfs_plugin_table.cc:618
void set_field_smallint_v1(PSI_field *f, PSI_smallint value)
Definition: pfs_plugin_table.cc:600
bool match_key_smallint_v1(bool record_null, long record_value, PSI_plugin_key_smallint *key)
Definition: pfs_plugin_table.cc:662
bool match_key_usmallint_v1(bool record_null, unsigned long record_value, PSI_plugin_key_usmallint *key)
Definition: pfs_plugin_table.cc:669
void read_key_usmallint_v1(PSI_key_reader *reader, PSI_plugin_key_usmallint *key, int find_flag)
Definition: pfs_plugin_table.cc:651

◆ 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:1260
void get_field_varchar_utf8mb4_v1(PSI_field *f, char *val, uint *len)
Definition: pfs_plugin_table.cc:1028
void get_field_char_utf8mb4_v1(PSI_field *f, char *val, uint *len)
Definition: pfs_plugin_table.cc:994
void set_field_varchar_utf8mb4_len_v1(PSI_field *f, const char *str, uint len)
Definition: pfs_plugin_table.cc:1010
void read_key_string_v1(PSI_key_reader *reader, PSI_plugin_key_string *key, int find_flag)
Definition: pfs_plugin_table.cc:1250
void set_field_char_utf8mb4_v1(PSI_field *f, const char *value, uint len)
Definition: pfs_plugin_table.cc:985
void set_field_varchar_utf8mb4_v1(PSI_field *f, const char *str)
Definition: pfs_plugin_table.cc:1019

◆ 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:1078
void set_field_text_v1(PSI_field *f, const char *val, uint len)
Definition: pfs_plugin_table.cc:1069

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

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

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

◆ 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:530
void read_key_tinyint_v1(PSI_key_reader *reader, PSI_plugin_key_tinyint *key, int find_flag)
Definition: pfs_plugin_table.cc:561
void set_field_tinyint_v1(PSI_field *f, PSI_tinyint value)
Definition: pfs_plugin_table.cc:521
bool match_key_tinyint_v1(bool record_null, long record_value, PSI_plugin_key_tinyint *key)
Definition: pfs_plugin_table.cc:583
void read_key_utinyint_v1(PSI_key_reader *reader, PSI_plugin_key_utinyint *key, int find_flag)
Definition: pfs_plugin_table.cc:572
void get_field_tinyint_v1(PSI_field *f, PSI_tinyint *value)
Definition: pfs_plugin_table.cc:539
bool match_key_utinyint_v1(bool record_null, unsigned long record_value, PSI_plugin_key_utinyint *key)
Definition: pfs_plugin_table.cc:590
void get_field_utinyint_v1(PSI_field *f, PSI_utinyint *value)
Definition: pfs_plugin_table.cc:550

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

◆ 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:1245
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:362
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:455

◆ plugin_table_service_initialized

bool plugin_table_service_initialized = false