MySQL 8.0.40
Source Code Documentation
|
Prepared Statement data structures (implementation). More...
#include "storage/perfschema/pfs_prepared_stmt.h"
#include <string.h>
#include "my_sys.h"
#include "sql_string.h"
#include "storage/perfschema/pfs_buffer_container.h"
#include "storage/perfschema/pfs_global.h"
#include "storage/perfschema/pfs_instr.h"
Functions | |
int | init_prepared_stmt (const PFS_global_param *param) |
Initialize table PREPARED_STATEMENTS_INSTANCE. More... | |
void | cleanup_prepared_stmt () |
Cleanup table PREPARED_STATEMENTS_INSTANCE. More... | |
static void | fct_reset_prepared_stmt_instances (PFS_prepared_stmt *pfs) |
void | reset_prepared_stmt_instances () |
PFS_prepared_stmt * | create_prepared_stmt (void *identity, PFS_thread *thread, PFS_program *pfs_program, PFS_events_statements *pfs_stmt, uint stmt_id, const char *stmt_name, uint stmt_name_length, const char *sqltext, uint sqltext_length) |
void | delete_prepared_stmt (PFS_prepared_stmt *pfs) |
Prepared Statement data structures (implementation).
void cleanup_prepared_stmt | ( | ) |
Cleanup table PREPARED_STATEMENTS_INSTANCE.
PFS_prepared_stmt * create_prepared_stmt | ( | void * | identity, |
PFS_thread * | thread, | ||
PFS_program * | pfs_program, | ||
PFS_events_statements * | pfs_stmt, | ||
uint | stmt_id, | ||
const char * | stmt_name, | ||
uint | stmt_name_length, | ||
const char * | sqltext, | ||
uint | sqltext_length | ||
) |
void delete_prepared_stmt | ( | PFS_prepared_stmt * | pfs | ) |
|
static |
int init_prepared_stmt | ( | const PFS_global_param * | param | ) |
Initialize table PREPARED_STATEMENTS_INSTANCE.
param | performance schema sizing |
void reset_prepared_stmt_instances | ( | ) |