68 void refresh_setup_object_flags(
PFS_thread *thread);
83 const char *object_name,
84 uint object_name_length,
const char *schema,
85 uint schema_name_length);
88 const char *object_name,
uint object_name_length,
89 const char *schema_name,
uint schema_name_length);
Data types for columns used in the performance schema tables (declarations)
enum_object_type
Enum values for the various OBJECT_TYPE columns.
Definition: pfs_column_types.h:222
Miscellaneous global dependencies (declarations).
#define PFS_ALIGNED
Definition: pfs_global.h:57
Performance schema instruments (declarations).
Object names (declarations).
LF_HASH program_hash
Definition: pfs_program.cc:49
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)
Definition: pfs_program.cc:190
int init_program(const PFS_global_param *param)
Initialize table EVENTS_STATEMENTS_SUMMARY_BY_PROGRAM.
Definition: pfs_program.cc:56
void cleanup_program()
Cleanup table EVENTS_STATEMENTS_SUMMARY_BY_PROGRAM.
Definition: pfs_program.cc:66
void cleanup_program_hash()
Cleanup the program hash.
Definition: pfs_program.cc:149
void reset_esms_by_program()
Definition: pfs_program.cc:176
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)
Definition: pfs_program.cc:267
int init_program_hash(const PFS_global_param *param)
Initialize the program hash.
Definition: pfs_program.cc:137
Statistics (declarations).
Performance schema global sizing parameters.
Definition: pfs_server.h:113
Base structure for wait instruments.
Definition: pfs_instr.h:89
Hash key for a program.
Definition: pfs_program.h:45
PFS_schema_name m_schema_name
Object Schema name.
Definition: pfs_program.h:51
PFS_routine_name m_object_name
Object name.
Definition: pfs_program.h:54
enum_object_type m_type
Object type.
Definition: pfs_program.h:48
Definition: pfs_program.h:57
PFS_statement_stat m_stmt_stat
Sub statement stat.
Definition: pfs_program.h:62
PFS_sp_stat m_sp_stat
Stored program stat.
Definition: pfs_program.h:65
PFS_program_key m_key
Hash key.
Definition: pfs_program.h:59
Definition: pfs_name.h:285
Definition: pfs_name.h:186
Statistics for stored program usage.
Definition: pfs_stat.h:340
Statistics for statement usage.
Definition: pfs_stat.h:376
Instrumented thread implementation.
Definition: pfs_instr.h:373
unsigned int uint
Definition: uca9-dump.cc:75