MySQL 8.0.29
Source Code Documentation
pfs_column_types.cc File Reference

Literal values for columns used in the performance schema tables (implementation). More...

Classes

struct  s_object_type_map
 

Functions

void object_type_to_string (enum_object_type object_type, const char **string, size_t *length)
 
void string_to_object_type (const char *string, size_t length, enum_object_type *object_type)
 

Variables

static s_object_type_map object_type_map []
 

Detailed Description

Literal values for columns used in the performance schema tables (implementation).

Function Documentation

◆ object_type_to_string()

void object_type_to_string ( enum_object_type  object_type,
const char **  string,
size_t *  length 
)

◆ string_to_object_type()

void string_to_object_type ( const char *  string,
size_t  length,
enum_object_type object_type 
)

Variable Documentation

◆ object_type_map

s_object_type_map object_type_map[]
static
Initial value:
= {
#define STRING_WITH_LEN(X)
Definition: m_string.h:314
@ OBJECT_TYPE_FUNCTION
Definition: pfs_column_types.h:227
@ OBJECT_TYPE_SRID
Definition: pfs_column_types.h:241
@ OBJECT_TYPE_COLUMN_STATISTICS
Definition: pfs_column_types.h:243
@ OBJECT_TYPE_PROCEDURE
Definition: pfs_column_types.h:228
@ OBJECT_TYPE_CHECK_CONSTRAINT
Definition: pfs_column_types.h:247
@ OBJECT_TYPE_LOCKING_SERVICE
Definition: pfs_column_types.h:240
@ OBJECT_TYPE_TABLESPACE
Definition: pfs_column_types.h:239
@ OBJECT_TYPE_ACL_CACHE
Definition: pfs_column_types.h:242
@ OBJECT_TYPE_TABLE
Definition: pfs_column_types.h:229
@ OBJECT_TYPE_BACKUP_LOCK
Definition: pfs_column_types.h:244
@ OBJECT_TYPE_TRIGGER
Definition: pfs_column_types.h:230
@ NO_OBJECT_TYPE
Definition: pfs_column_types.h:222
@ OBJECT_TYPE_GLOBAL
Definition: pfs_column_types.h:235
@ OBJECT_TYPE_RESOURCE_GROUPS
Definition: pfs_column_types.h:245
@ OBJECT_TYPE_TEMPORARY_TABLE
Definition: pfs_column_types.h:234
@ OBJECT_TYPE_EVENT
Definition: pfs_column_types.h:226
@ OBJECT_TYPE_COMMIT
Definition: pfs_column_types.h:237
@ OBJECT_TYPE_SCHEMA
Definition: pfs_column_types.h:236
@ OBJECT_TYPE_FOREIGN_KEY
Definition: pfs_column_types.h:246
@ OBJECT_TYPE_USER_LEVEL_LOCK
Definition: pfs_column_types.h:238