MySQL 8.0.29
Source Code Documentation
pfs_host.cc File Reference

Performance schema host (implementation). More...

Classes

class  Proc_purge_host
 

Functions

int init_host (const PFS_global_param *param)
 Initialize the host buffers. More...
 
void cleanup_host (void)
 Cleanup all the host buffers. More...
 
static const ucharhost_hash_get_key (const uchar *entry, size_t *length)
 
static uint host_hash_func (const LF_HASH *, const uchar *key, size_t key_len)
 
static int host_hash_cmp_func (const uchar *key1, size_t key_len1, const uchar *key2, size_t key_len2)
 
int init_host_hash (const PFS_global_param *param)
 Initialize the host hash. More...
 
void cleanup_host_hash (void)
 Cleanup the host hash. More...
 
static LF_PINSget_host_hash_pins (PFS_thread *thread)
 
static void set_host_key (PFS_host_key *key, const PFS_host_name *host)
 
PFS_hostfind_or_create_host (PFS_thread *thread, const PFS_host_name *host)
 
PFS_hostsanitize_host (PFS_host *unsafe)
 
static void purge_host (PFS_thread *thread, PFS_host *host)
 
void purge_all_host (void)
 Purge non connected hosts, reset stats of connected hosts. More...
 

Variables

LF_HASH host_hash
 
static bool host_hash_inited = false
 

Detailed Description

Performance schema host (implementation).