MySQL 8.4.0
Source Code Documentation
Variable types

Possible system variable types. More...

Macros

#define PLUGIN_VAR_BOOL   0x0001
 bool variable. More...
 
#define PLUGIN_VAR_INT   0x0002
 int variable. More...
 
#define PLUGIN_VAR_LONG   0x0003
 long variable Use INTEGRAL_CHECK_ARG More...
 
#define PLUGIN_VAR_LONGLONG   0x0004
 longlong variable. More...
 
#define PLUGIN_VAR_STR   0x0005
 char * variable. More...
 
#define PLUGIN_VAR_ENUM   0x0006
 Enum variable. More...
 
#define PLUGIN_VAR_SET   0x0007
 A set variable. More...
 
#define PLUGIN_VAR_DOUBLE   0x0008
 double variable. More...
 

Detailed Description

Possible system variable types.

Use at most one of these.

See also
mysql_service_component_sys_variable_register service.

Macro Definition Documentation

◆ PLUGIN_VAR_BOOL

#define PLUGIN_VAR_BOOL   0x0001

bool variable.

Use BOOL_CHECK_ARG

◆ PLUGIN_VAR_DOUBLE

#define PLUGIN_VAR_DOUBLE   0x0008

double variable.

Use INTEGRAL_CHECK_ARG

◆ PLUGIN_VAR_ENUM

#define PLUGIN_VAR_ENUM   0x0006

Enum variable.

Use ENUM_CHECK_ARG

◆ PLUGIN_VAR_INT

#define PLUGIN_VAR_INT   0x0002

int variable.

Use INTEGRAL_CHECK_ARG

◆ PLUGIN_VAR_LONG

#define PLUGIN_VAR_LONG   0x0003

long variable Use INTEGRAL_CHECK_ARG

◆ PLUGIN_VAR_LONGLONG

#define PLUGIN_VAR_LONGLONG   0x0004

longlong variable.

Use INTEGRAL_CHECK_ARG

◆ PLUGIN_VAR_SET

#define PLUGIN_VAR_SET   0x0007

A set variable.

Use ENUM_CHECK_ARG

◆ PLUGIN_VAR_STR

#define PLUGIN_VAR_STR   0x0005

char * variable.

Use STR_CHECK_ARG