MySQL 9.0.0
Source Code Documentation
Collaboration diagram for Row Lock Instrumentation (ABI):

Classes

struct  PSI_data_lock_bootstrap
 Entry point for the performance schema interface. More...
 
class  PSI_server_data_lock_container
 Server interface, row lock container. More...
 
class  PSI_server_data_lock_wait_container
 
class  PSI_engine_data_lock_iterator
 Engine interface, row lock iterator. More...
 
class  PSI_engine_data_lock_wait_iterator
 
class  PSI_engine_data_lock_inspector
 Engine interface, row lock inspector. More...
 
struct  PSI_data_lock_service_v1
 Performance Schema Row Lock Interface, version 1. More...
 

Macros

#define PSI_DATA_LOCK_VERSION_1   1
 Performance Schema Row Lock Interface number for version 1. More...
 
#define PSI_DATA_LOCK_VERSION_2   2
 Performance Schema Row Lock Interface number for version 2. More...
 
#define PSI_CURRENT_DATA_LOCK_VERSION   1
 Performance Schema Row Lock Interface number for the most recent version. More...
 
#define USE_PSI_DATA_LOCK_1
 
#define HAVE_PSI_DATA_LOCK_1
 

Typedefs

typedef struct PSI_data_lock_bootstrap PSI_data_lock_bootstrap
 
typedef void(* register_data_lock_v1_t) (PSI_engine_data_lock_inspector *inspector)
 Row Lock registration API. More...
 
typedef void(* unregister_data_lock_v1_t) (PSI_engine_data_lock_inspector *inspector)
 Row Lock un registration API. More...
 
typedef struct PSI_data_lock_service_v1 PSI_data_lock_service_t
 

Enumerations

enum  PSI_identifier {
  PSI_IDENTIFIER_NONE = 0 , PSI_IDENTIFIER_SCHEMA = 1 , PSI_IDENTIFIER_TABLE = 2 , PSI_IDENTIFIER_INDEX = 3 ,
  PSI_IDENTIFIER_PARTITION = 4 , PSI_IDENTIFIER_SUBPARTITION = 5
}
 

Variables

MYSQL_PLUGIN_IMPORT PSI_data_lock_service_tpsi_data_lock_service
 

Detailed Description

Macro Definition Documentation

◆ HAVE_PSI_DATA_LOCK_1

#define HAVE_PSI_DATA_LOCK_1

◆ PSI_CURRENT_DATA_LOCK_VERSION

#define PSI_CURRENT_DATA_LOCK_VERSION   1

Performance Schema Row Lock Interface number for the most recent version.

The most current version is PSI_DATA_LOCK_VERSION_1

◆ PSI_DATA_LOCK_VERSION_1

#define PSI_DATA_LOCK_VERSION_1   1

Performance Schema Row Lock Interface number for version 1.

This version is supported.

◆ PSI_DATA_LOCK_VERSION_2

#define PSI_DATA_LOCK_VERSION_2   2

Performance Schema Row Lock Interface number for version 2.

This version is not implemented, it's a placeholder.

◆ USE_PSI_DATA_LOCK_1

#define USE_PSI_DATA_LOCK_1

Typedef Documentation

◆ PSI_data_lock_bootstrap

◆ PSI_data_lock_service_t

◆ register_data_lock_v1_t

typedef void(* register_data_lock_v1_t) (PSI_engine_data_lock_inspector *inspector)

Row Lock registration API.

◆ unregister_data_lock_v1_t

typedef void(* unregister_data_lock_v1_t) (PSI_engine_data_lock_inspector *inspector)

Row Lock un registration API.

Enumeration Type Documentation

◆ PSI_identifier

Enumerator
PSI_IDENTIFIER_NONE 
PSI_IDENTIFIER_SCHEMA 
PSI_IDENTIFIER_TABLE 
PSI_IDENTIFIER_INDEX 
PSI_IDENTIFIER_PARTITION 
PSI_IDENTIFIER_SUBPARTITION 

Variable Documentation

◆ psi_data_lock_service

MYSQL_PLUGIN_IMPORT PSI_data_lock_service_t* psi_data_lock_service
extern