MySQL 8.0.39
Source Code Documentation
|
Stored Program data structures (declarations). More...
#include <sys/types.h>
#include "storage/perfschema/pfs_column_types.h"
#include "storage/perfschema/pfs_global.h"
#include "storage/perfschema/pfs_instr.h"
#include "storage/perfschema/pfs_name.h"
#include "storage/perfschema/pfs_stat.h"
Go to the source code of this file.
Classes | |
struct | PFS_program_key |
Hash key for a program. More... | |
struct | PFS_program |
Functions | |
int | init_program (const PFS_global_param *param) |
Initialize table EVENTS_STATEMENTS_SUMMARY_BY_PROGRAM. More... | |
void | cleanup_program () |
Cleanup table EVENTS_STATEMENTS_SUMMARY_BY_PROGRAM. More... | |
int | init_program_hash (const PFS_global_param *param) |
Initialize the program hash. More... | |
void | cleanup_program_hash () |
Cleanup the program hash. More... | |
void | reset_esms_by_program () |
PFS_program * | find_or_create_program (PFS_thread *thread, enum_object_type object_type, const char *object_name, uint object_name_length, const char *schema, uint schema_name_length) |
void | drop_program (PFS_thread *thread, enum_object_type object_type, const char *object_name, uint object_name_length, const char *schema_name, uint schema_name_length) |
Variables | |
LF_HASH | program_hash |
Stored Program data structures (declarations).
void cleanup_program | ( | ) |
Cleanup table EVENTS_STATEMENTS_SUMMARY_BY_PROGRAM.
void cleanup_program_hash | ( | ) |
Cleanup the program hash.
void drop_program | ( | PFS_thread * | thread, |
enum_object_type | object_type, | ||
const char * | object_name, | ||
uint | object_name_length, | ||
const char * | schema_name, | ||
uint | schema_name_length | ||
) |
PFS_program * find_or_create_program | ( | PFS_thread * | thread, |
enum_object_type | object_type, | ||
const char * | object_name, | ||
uint | object_name_length, | ||
const char * | schema, | ||
uint | schema_name_length | ||
) |
int init_program | ( | const PFS_global_param * | param | ) |
Initialize table EVENTS_STATEMENTS_SUMMARY_BY_PROGRAM.
param | performance schema sizing |
int init_program_hash | ( | const PFS_global_param * | param | ) |
Initialize the program hash.
void reset_esms_by_program | ( | ) |
|
extern |