MySQL 8.0.40
Source Code Documentation
Collaboration diagram for Error Instrumentation (ABI):

Classes

struct  PSI_error_bootstrap
 Entry point for the performance schema interface. More...
 
struct  PSI_error_service_v1
 Performance Schema Error Interface, version 1. More...
 

Macros

#define PSI_ERROR_VERSION_1   1
 Performance Schema Error Interface number for version 1. More...
 
#define PSI_CURRENT_ERROR_VERSION   1
 Performance Schema Error Interface number for the most recent version. More...
 

Typedefs

typedef enum PSI_error_operation PSI_error_operation
 
typedef void(* log_error_v1_t) (unsigned int error_num, PSI_error_operation error_operation)
 Log the error seen in Performance Schema buffers. More...
 
typedef struct PSI_error_bootstrap PSI_error_bootstrap
 
typedef struct PSI_error_service_v1 PSI_error_service_t
 

Enumerations

enum  PSI_error_operation { PSI_ERROR_OPERATION_RAISED = 0 , PSI_ERROR_OPERATION_HANDLED }
 

Variables

MYSQL_PLUGIN_IMPORT PSI_error_service_tpsi_error_service
 

Detailed Description

Macro Definition Documentation

◆ PSI_CURRENT_ERROR_VERSION

#define PSI_CURRENT_ERROR_VERSION   1

Performance Schema Error Interface number for the most recent version.

The most current version is PSI_ERROR_VERSION_1

◆ PSI_ERROR_VERSION_1

#define PSI_ERROR_VERSION_1   1

Performance Schema Error Interface number for version 1.

This version is supported.

Typedef Documentation

◆ log_error_v1_t

typedef void(* log_error_v1_t) (unsigned int error_num, PSI_error_operation error_operation)

Log the error seen in Performance Schema buffers.

Parameters
error_numMySQL error number
error_operationoperation on error (PSI_ERROR_OPERATION_*)

◆ PSI_error_bootstrap

◆ PSI_error_operation

◆ PSI_error_service_t

Enumeration Type Documentation

◆ PSI_error_operation

Enumerator
PSI_ERROR_OPERATION_RAISED 
PSI_ERROR_OPERATION_HANDLED 

Variable Documentation

◆ psi_error_service

MYSQL_PLUGIN_IMPORT PSI_error_service_t* psi_error_service
extern