MySQL 8.0.29
Source Code Documentation
pfs_setup_actor.h File Reference

Performance schema setup actors (declarations). More...

#include <sys/types.h>
#include "lf.h"
#include "my_hostname.h"
#include "mysql_com.h"
#include "sql_string.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_setup_actor_key
 Hash key for. More...
 
struct  PFS_setup_actor
 A setup_actor record. More...
 

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...
 
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...
 
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...
 

Detailed Description

Performance schema setup actors (declarations).