MySQL 8.0.40
Source Code Documentation
pfs_account.cc File Reference

Performance schema account (implementation). More...

Classes

class  Proc_purge_account
 
class  Proc_update_accounts_derived_flags
 

Functions

int init_account (const PFS_global_param *param)
 Initialize the user buffers. More...
 
void cleanup_account ()
 Cleanup all the account buffers. More...
 
static const ucharaccount_hash_get_key (const uchar *entry, size_t *length)
 
static uint account_hash_func (const LF_HASH *, const uchar *key, size_t key_len)
 
static int account_hash_cmp_func (const uchar *key1, size_t key_len1, const uchar *key2, size_t key_len2)
 
int init_account_hash (const PFS_global_param *param)
 Initialize the user hash. More...
 
void cleanup_account_hash ()
 Cleanup the user hash. More...
 
static LF_PINSget_account_hash_pins (PFS_thread *thread)
 
static void set_account_key (PFS_account_key *key, const PFS_user_name *user, const PFS_host_name *host)
 
PFS_accountfind_or_create_account (PFS_thread *thread, const PFS_user_name *user, const PFS_host_name *host)
 
PFS_accountsanitize_account (PFS_account *unsafe)
 
static void purge_account (PFS_thread *thread, PFS_account *account)
 
void purge_all_account ()
 Purge non connected accounts, reset stats of connected account. More...
 
void update_accounts_derived_flags (PFS_thread *thread)
 

Variables

LF_HASH account_hash
 
static bool account_hash_inited = false
 

Detailed Description

Performance schema account (implementation).