MySQL 9.1.0
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:
= {
@ OBJECT_TYPE_FUNCTION
Definition: pfs_column_types.h:233
@ OBJECT_TYPE_SRID
Definition: pfs_column_types.h:247
@ OBJECT_TYPE_COLUMN_STATISTICS
Definition: pfs_column_types.h:249
@ OBJECT_TYPE_PROCEDURE
Definition: pfs_column_types.h:234
@ OBJECT_TYPE_CHECK_CONSTRAINT
Definition: pfs_column_types.h:253
@ OBJECT_TYPE_LOCKING_SERVICE
Definition: pfs_column_types.h:246
@ OBJECT_TYPE_TABLESPACE
Definition: pfs_column_types.h:245
@ OBJECT_TYPE_ACL_CACHE
Definition: pfs_column_types.h:248
@ OBJECT_TYPE_TABLE
Definition: pfs_column_types.h:235
@ OBJECT_TYPE_BACKUP_LOCK
Definition: pfs_column_types.h:250
@ OBJECT_TYPE_TRIGGER
Definition: pfs_column_types.h:236
@ NO_OBJECT_TYPE
Definition: pfs_column_types.h:228
@ OBJECT_TYPE_GLOBAL
Definition: pfs_column_types.h:241
@ OBJECT_TYPE_RESOURCE_GROUPS
Definition: pfs_column_types.h:251
@ OBJECT_TYPE_TEMPORARY_TABLE
Definition: pfs_column_types.h:240
@ OBJECT_TYPE_EVENT
Definition: pfs_column_types.h:232
@ OBJECT_TYPE_COMMIT
Definition: pfs_column_types.h:243
@ OBJECT_TYPE_SCHEMA
Definition: pfs_column_types.h:242
@ OBJECT_TYPE_FOREIGN_KEY
Definition: pfs_column_types.h:252
@ OBJECT_TYPE_USER_LEVEL_LOCK
Definition: pfs_column_types.h:244
#define STRING_WITH_LEN(X)
Definition: string_with_len.h:29