MySQL 9.0.0
Source Code Documentation
pfs_setup_object.cc File Reference

Performance schema setup object (implementation). More...

Classes

class  Proc_reset_setup_object
 

Functions

int init_setup_object (const PFS_global_param *param)
 Initialize the setup object buffers. More...
 
void cleanup_setup_object ()
 Cleanup all the setup object buffers. More...
 
static const ucharsetup_object_hash_get_key (const uchar *entry, size_t *length)
 
static bool is_table (enum_object_type object_type)
 
static uint setup_object_hash_func (const LF_HASH *, const uchar *key, size_t key_len)
 
static int setup_object_hash_cmp_func (const uchar *key1, size_t key_len1, const uchar *key2, size_t key_len2)
 
int init_setup_object_hash (const PFS_global_param *param)
 Initialize the setup objects hash. More...
 
void cleanup_setup_object_hash ()
 Cleanup the setup objects hash. More...
 
static LF_PINSget_setup_object_hash_pins (PFS_thread *thread)
 
static void set_setup_object_key (PFS_setup_object_key *key, enum_object_type object_type, const PFS_schema_name *schema, const PFS_object_name *object)
 
int insert_setup_object (enum_object_type object_type, const PFS_schema_name *schema, const PFS_object_name *object, bool enabled, bool timed)
 
int delete_setup_object (enum_object_type object_type, const PFS_schema_name *schema, const PFS_object_name *object)
 
int reset_setup_object ()
 
long setup_object_count ()
 
static void lookup_setup_object (PFS_thread *thread, enum_object_type object_type, const PFS_schema_name *schema, const PFS_object_name *object, bool *enabled, bool *timed)
 
void lookup_setup_object_table (PFS_thread *thread, enum_object_type object_type, const PFS_schema_name *schema_name, const PFS_table_name *table_name, bool *enabled, bool *timed)
 
void lookup_setup_object_routine (PFS_thread *thread, enum_object_type object_type, const PFS_schema_name *schema_name, const PFS_routine_name *routine_name, bool *enabled, bool *timed)
 

Variables

uint setup_objects_version = 0
 
LF_HASH setup_object_hash
 
static bool setup_object_hash_inited = false
 

Detailed Description

Performance schema setup object (implementation).