MySQL 8.0.40
Source Code Documentation
|
Instrumentation helpers for prepared statements. More...
Go to the source code of this file.
Macros | |
#define | MYSQL_CREATE_PS(IDENTITY, ID, LOCKER, NAME, NAME_LENGTH, SQLTEXT, SQLTEXT_LENGTH) |
#define | MYSQL_EXECUTE_PS(LOCKER, PREPARED_STMT) inline_mysql_execute_prepared_stmt(LOCKER, PREPARED_STMT) |
#define | MYSQL_DESTROY_PS(PREPARED_STMT) inline_mysql_destroy_prepared_stmt(PREPARED_STMT) |
#define | MYSQL_REPREPARE_PS(PREPARED_STMT) inline_mysql_reprepare_prepared_stmt(PREPARED_STMT) |
#define | MYSQL_SET_PS_TEXT(PREPARED_STMT, SQLTEXT, SQLTEXT_LENGTH) inline_mysql_set_prepared_stmt_text(PREPARED_STMT, SQLTEXT, SQLTEXT_LENGTH) |
#define | MYSQL_SET_PS_SECONDARY_ENGINE(PREPARED_STMT, SECONDARY) inline_mysql_set_prepared_stmt_secondary_engine(PREPARED_STMT, SECONDARY) |
Functions | |
static struct PSI_prepared_stmt * | inline_mysql_create_prepared_stmt (void *identity, uint stmt_id, PSI_statement_locker *locker, const char *stmt_name, size_t stmt_name_length, const char *sqltext, size_t sqltext_length) |
static void | inline_mysql_execute_prepared_stmt (PSI_statement_locker *locker, PSI_prepared_stmt *prepared_stmt) |
static void | inline_mysql_destroy_prepared_stmt (PSI_prepared_stmt *prepared_stmt) |
static void | inline_mysql_reprepare_prepared_stmt (PSI_prepared_stmt *prepared_stmt) |
static void | inline_mysql_set_prepared_stmt_text (PSI_prepared_stmt *prepared_stmt, const char *text, uint text_len) |
static void | inline_mysql_set_prepared_stmt_secondary_engine (PSI_prepared_stmt *prepared_stmt, bool secondary) |
Instrumentation helpers for prepared statements.
#define MYSQL_CREATE_PS | ( | IDENTITY, | |
ID, | |||
LOCKER, | |||
NAME, | |||
NAME_LENGTH, | |||
SQLTEXT, | |||
SQLTEXT_LENGTH | |||
) |
#define MYSQL_DESTROY_PS | ( | PREPARED_STMT | ) | inline_mysql_destroy_prepared_stmt(PREPARED_STMT) |
#define MYSQL_EXECUTE_PS | ( | LOCKER, | |
PREPARED_STMT | |||
) | inline_mysql_execute_prepared_stmt(LOCKER, PREPARED_STMT) |
#define MYSQL_REPREPARE_PS | ( | PREPARED_STMT | ) | inline_mysql_reprepare_prepared_stmt(PREPARED_STMT) |
#define MYSQL_SET_PS_SECONDARY_ENGINE | ( | PREPARED_STMT, | |
SECONDARY | |||
) | inline_mysql_set_prepared_stmt_secondary_engine(PREPARED_STMT, SECONDARY) |
#define MYSQL_SET_PS_TEXT | ( | PREPARED_STMT, | |
SQLTEXT, | |||
SQLTEXT_LENGTH | |||
) | inline_mysql_set_prepared_stmt_text(PREPARED_STMT, SQLTEXT, SQLTEXT_LENGTH) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |