MySQL 9.1.0
Source Code Documentation
Collaboration diagram for Metadata Instrumentation (API):

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

Macro Definition Documentation

◆ mysql_mdl_create

#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.

Parameters
IMetadata lock identity
KMetadata key
TMetadata lock type
DMetadata lock duration
SMetadata lock status
Frequest source file
Lrequest source line

◆ mysql_mdl_destroy

#define mysql_mdl_destroy (   M)    inline_mysql_mdl_destroy(M, __FILE__, __LINE__)

Instrumented metadata lock destruction.

Parameters
MMetadata lock

◆ mysql_mdl_set_duration

#define mysql_mdl_set_duration (   L,
 
)    inline_mysql_mdl_set_duration(L, D)

◆ mysql_mdl_set_status

#define mysql_mdl_set_status (   L,
 
)    inline_mysql_mdl_set_status(L, S)

Function Documentation

◆ inline_mysql_mdl_create()

static PSI_metadata_lock * inline_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 
)
inlinestatic

◆ inline_mysql_mdl_destroy()

static void inline_mysql_mdl_destroy ( PSI_metadata_lock psi,
const char *  ,
uint   
)
inlinestatic

◆ inline_mysql_mdl_set_duration()

static void inline_mysql_mdl_set_duration ( PSI_metadata_lock psi,
enum_mdl_duration  mdl_duration 
)
inlinestatic

◆ inline_mysql_mdl_set_status()

static void inline_mysql_mdl_set_status ( PSI_metadata_lock psi,
MDL_ticket::enum_psi_status  mdl_status 
)
inlinestatic