MySQL 9.1.0
Source Code Documentation
|
Performance schema setup actor (implementation). More...
#include "storage/perfschema/pfs_setup_actor.h"
#include <assert.h>
#include "my_base.h"
#include "my_compiler.h"
#include "my_inttypes.h"
#include "my_sys.h"
#include "storage/perfschema/pfs.h"
#include "storage/perfschema/pfs_account.h"
#include "storage/perfschema/pfs_buffer_container.h"
#include "storage/perfschema/pfs_global.h"
#include "storage/perfschema/pfs_instr.h"
#include "storage/perfschema/pfs_stat.h"
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 () |
Cleanup all the setup actor buffers. More... | |
static const uchar * | setup_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 () |
Cleanup the setup actor hash. More... | |
static LF_PINS * | get_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... | |
Performance schema setup actor (implementation).