MySQL 8.0.29
Source Code Documentation
pfs_setup_actor.cc File Reference

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

Classes

class  Proc_reset_setup_actor
 

Functions

int init_setup_actor (const PFS_global_param *param)
 Initialize the setup actor buffers. More...
 
void cleanup_setup_actor (void)
 Cleanup all the setup actor buffers. More...
 
static const ucharsetup_actor_hash_get_key (const uchar *entry, size_t *length)
 
static uint setup_actor_hash_func (const LF_HASH *, const uchar *key, size_t key_len)
 
static int setup_actor_hash_cmp_func (const uchar *key1, size_t key_len1, const uchar *key2, size_t key_len2)
 
int init_setup_actor_hash (const PFS_global_param *param)
 Initialize the setup actor hash. More...
 
void cleanup_setup_actor_hash (void)
 Cleanup the setup actor hash. More...
 
static LF_PINSget_setup_actor_hash_pins (PFS_thread *thread)
 
static void set_setup_actor_key (PFS_setup_actor_key *key, const PFS_user_name *user, const PFS_host_name *host, const PFS_role_name *role)
 
int insert_setup_actor (const PFS_user_name *user, const PFS_host_name *host, const PFS_role_name *role, bool enabled, bool history)
 
int delete_setup_actor (const PFS_user_name *user, const PFS_host_name *host, const PFS_role_name *role)
 
int reset_setup_actor ()
 
long setup_actor_count ()
 
void lookup_setup_actor (PFS_thread *thread, const PFS_user_name *user, const PFS_host_name *host, bool *enabled, bool *history)
 
int update_setup_actors_derived_flags ()
 Update derived flags for all setup_actors. More...
 

Variables

LF_HASH setup_actor_hash
 Hash table for setup_actor records. More...
 
static bool setup_actor_hash_inited = false
 True if setup_actor_hash is initialized. More...
 

Detailed Description

Performance schema setup actor (implementation).