MySQL 8.0.39
Source Code Documentation
Variable flags

Flags to specify the behavior of system variables. More...

Macros

#define PLUGIN_VAR_UNSIGNED   0x0080
 The variable is unsigned. More...
 
#define PLUGIN_VAR_THDLOCAL   0x0100
 Variable is per-connection. More...
 
#define PLUGIN_VAR_READONLY   0x0200
 Server variable is read only. More...
 
#define PLUGIN_VAR_NOSYSVAR   0x0400
 Not a server variable. More...
 
#define PLUGIN_VAR_NOCMDOPT   0x0800
 Not a command line option. More...
 
#define PLUGIN_VAR_NOCMDARG   0x1000
 No argument for cmd line. More...
 
#define PLUGIN_VAR_RQCMDARG   0x0000
 Argument required for cmd line. More...
 
#define PLUGIN_VAR_OPCMDARG   0x2000
 Argument optional for cmd line. More...
 
#define PLUGIN_VAR_NODEFAULT   0x4000
 SET DEFAULT is prohibited. More...
 
#define PLUGIN_VAR_MEMALLOC   0x8000
 String needs memory allocated. More...
 
#define PLUGIN_VAR_NOPERSIST    0x10000
 SET PERSIST_ONLY is prohibited for read only variables. More...
 
#define PLUGIN_VAR_PERSIST_AS_READ_ONLY   0x20000
 
#define PLUGIN_VAR_INVISIBLE   0x40000
 Variable should not be shown. More...
 
#define PLUGIN_VAR_SENSITIVE   0x80000
 Sensitive variable. More...
 

Detailed Description

Flags to specify the behavior of system variables.

Use multiple as needed.

See also
mysql_service_component_sys_variable_register service.

Macro Definition Documentation

◆ PLUGIN_VAR_INVISIBLE

#define PLUGIN_VAR_INVISIBLE   0x40000

Variable should not be shown.

◆ PLUGIN_VAR_MEMALLOC

#define PLUGIN_VAR_MEMALLOC   0x8000

String needs memory allocated.

◆ PLUGIN_VAR_NOCMDARG

#define PLUGIN_VAR_NOCMDARG   0x1000

No argument for cmd line.

◆ PLUGIN_VAR_NOCMDOPT

#define PLUGIN_VAR_NOCMDOPT   0x0800

Not a command line option.

◆ PLUGIN_VAR_NODEFAULT

#define PLUGIN_VAR_NODEFAULT   0x4000

SET DEFAULT is prohibited.

◆ PLUGIN_VAR_NOPERSIST

#define PLUGIN_VAR_NOPERSIST    0x10000

SET PERSIST_ONLY is prohibited for read only variables.

◆ PLUGIN_VAR_NOSYSVAR

#define PLUGIN_VAR_NOSYSVAR   0x0400

Not a server variable.

◆ PLUGIN_VAR_OPCMDARG

#define PLUGIN_VAR_OPCMDARG   0x2000

Argument optional for cmd line.

◆ PLUGIN_VAR_PERSIST_AS_READ_ONLY

#define PLUGIN_VAR_PERSIST_AS_READ_ONLY   0x20000

◆ PLUGIN_VAR_READONLY

#define PLUGIN_VAR_READONLY   0x0200

Server variable is read only.

◆ PLUGIN_VAR_RQCMDARG

#define PLUGIN_VAR_RQCMDARG   0x0000

Argument required for cmd line.

◆ PLUGIN_VAR_SENSITIVE

#define PLUGIN_VAR_SENSITIVE   0x80000

Sensitive variable.

◆ PLUGIN_VAR_THDLOCAL

#define PLUGIN_VAR_THDLOCAL   0x0100

Variable is per-connection.

◆ PLUGIN_VAR_UNSIGNED

#define PLUGIN_VAR_UNSIGNED   0x0080

The variable is unsigned.