MySQL 9.1.0
Source Code Documentation
|
Performance schema account (declarations). More...
#include <sys/types.h>
#include <atomic>
#include "lf.h"
#include "my_hostname.h"
#include "my_inttypes.h"
#include "mysql_com.h"
#include "storage/perfschema/pfs_con_slice.h"
#include "storage/perfschema/pfs_global.h"
#include "storage/perfschema/pfs_lock.h"
#include "storage/perfschema/pfs_name.h"
Go to the source code of this file.
Classes | |
struct | PFS_account_key |
Hash key for an account. More... | |
struct | PFS_account |
Per account statistics. More... | |
Functions | |
int | init_account (const PFS_global_param *param) |
Initialize the user buffers. More... | |
void | cleanup_account () |
Cleanup all the account buffers. More... | |
int | init_account_hash (const PFS_global_param *param) |
Initialize the user hash. More... | |
void | cleanup_account_hash () |
Cleanup the user hash. More... | |
PFS_account * | find_or_create_account (PFS_thread *thread, const PFS_user_name *user, const PFS_host_name *host) |
PFS_account * | sanitize_account (PFS_account *unsafe) |
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 |
Performance schema account (declarations).