MySQL 8.0.39
Source Code Documentation
mysql_mdl.h File Reference

Instrumentation helpers for metadata locks. More...

Go to the source code of this file.

Macros

#define mysql_mdl_create(I, K, T, D, S, F, L)    inline_mysql_mdl_create(I, K, T, D, S, F, L)
 Instrumented metadata lock creation. More...
 
#define mysql_mdl_set_status(L, S)   inline_mysql_mdl_set_status(L, S)
 
#define mysql_mdl_set_duration(L, D)   inline_mysql_mdl_set_duration(L, D)
 
#define mysql_mdl_destroy(M)   inline_mysql_mdl_destroy(M, __FILE__, __LINE__)
 Instrumented metadata lock destruction. More...
 

Functions

static PSI_metadata_lockinline_mysql_mdl_create (void *identity, const MDL_key *mdl_key, enum_mdl_type mdl_type, enum_mdl_duration mdl_duration, MDL_ticket::enum_psi_status mdl_status, const char *src_file, uint src_line)
 
static void inline_mysql_mdl_set_status (PSI_metadata_lock *psi, MDL_ticket::enum_psi_status mdl_status)
 
static void inline_mysql_mdl_set_duration (PSI_metadata_lock *psi, enum_mdl_duration mdl_duration)
 
static void inline_mysql_mdl_destroy (PSI_metadata_lock *psi, const char *, uint)
 

Detailed Description

Instrumentation helpers for metadata locks.