MySQL 9.1.0
Source Code Documentation
mysql_sp.h File Reference

Instrumentation helpers for stored programs. More...

Go to the source code of this file.

Macros

#define PSI_SP_CALL(M)   psi_statement_service->M
 
#define MYSQL_START_SP(STATE, SP_SHARE)   inline_mysql_start_sp(STATE, SP_SHARE)
 Instrument a stored program execution start. More...
 
#define MYSQL_END_SP(LOCKER)   inline_mysql_end_sp(LOCKER)
 Instrument a stored program execution end. More...
 
#define MYSQL_DROP_SP(OT, SN, SNL, ON, ONL)    inline_mysql_drop_sp(OT, SN, SNL, ON, ONL)
 Instrument a drop stored program event. More...
 
#define MYSQL_GET_SP_SHARE(OT, SN, SNL, ON, ONL)    inline_mysql_get_sp_share(OT, SN, SNL, ON, ONL)
 Instrument a stored program share. More...
 

Functions

static struct PSI_sp_lockerinline_mysql_start_sp (PSI_sp_locker_state *state, PSI_sp_share *sp_share)
 
static void inline_mysql_end_sp (PSI_sp_locker *locker)
 
static void inline_mysql_drop_sp (uint sp_type, const char *schema_name, uint shcema_name_length, const char *object_name, uint object_name_length)
 
static PSI_sp_shareinline_mysql_get_sp_share (uint sp_type, const char *schema_name, uint shcema_name_length, const char *object_name, uint object_name_length)
 

Detailed Description

Instrumentation helpers for stored programs.

Macro Definition Documentation

◆ PSI_SP_CALL

#define PSI_SP_CALL (   M)    psi_statement_service->M