MySQL 8.0.40
Source Code Documentation
|
Macros | |
#define | MYSQL_TABLE_WAIT_VARIABLES(LOCKER, STATE) |
Instrumentation helper for table waits. More... | |
#define | MYSQL_START_TABLE_LOCK_WAIT(LOCKER, STATE, PSI, OP, FLAGS) |
Instrumentation helper for table lock waits. More... | |
#define | MYSQL_END_TABLE_LOCK_WAIT(LOCKER) inline_mysql_end_table_lock_wait(LOCKER) |
Instrumentation helper for table lock waits. More... | |
#define | MYSQL_UNLOCK_TABLE(T) inline_mysql_unlock_table(T) |
Functions | |
static struct PSI_table_locker * | inline_mysql_start_table_lock_wait (PSI_table_locker_state *state, struct PSI_table *psi, enum PSI_table_lock_operation op, ulong flags, const char *src_file, int src_line) |
Instrumentation calls for MYSQL_START_TABLE_LOCK_WAIT. More... | |
static void | inline_mysql_end_table_lock_wait (struct PSI_table_locker *locker) |
Instrumentation calls for MYSQL_END_TABLE_LOCK_WAIT. More... | |
static void | inline_mysql_unlock_table (struct PSI_table *table) |
#define MYSQL_END_TABLE_LOCK_WAIT | ( | LOCKER | ) | inline_mysql_end_table_lock_wait(LOCKER) |
Instrumentation helper for table lock waits.
This instrumentation marks the end of a wait event.
LOCKER | the locker |
#define MYSQL_START_TABLE_LOCK_WAIT | ( | LOCKER, | |
STATE, | |||
PSI, | |||
OP, | |||
FLAGS | |||
) |
Instrumentation helper for table lock waits.
This instrumentation marks the start of a wait event.
LOCKER | the locker |
STATE | the locker state |
PSI | the instrumented table |
OP | the table operation to be performed |
FLAGS | per table operation flags. |
#define MYSQL_TABLE_WAIT_VARIABLES | ( | LOCKER, | |
STATE | |||
) |
Instrumentation helper for table waits.
This instrumentation declares local variables. Do not use a ';' after this macro
LOCKER | the locker |
STATE | the locker state |
#define MYSQL_UNLOCK_TABLE | ( | T | ) | inline_mysql_unlock_table(T) |
|
inlinestatic |
Instrumentation calls for MYSQL_END_TABLE_LOCK_WAIT.
|
inlinestatic |
Instrumentation calls for MYSQL_START_TABLE_LOCK_WAIT.
|
inlinestatic |