MySQL 9.1.0
Source Code Documentation
|
Go to the source code of this file.
Classes | |
struct | st_mysql_value |
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... | |
#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... | |
#define | MYSQL_VALUE_TYPE_STRING 0 |
st_mysql_value struct for reading values from mysqld. More... | |
#define | MYSQL_VALUE_TYPE_REAL 1 |
#define | MYSQL_VALUE_TYPE_INT 2 |
#define MYSQL_VALUE_TYPE_INT 2 |
#define MYSQL_VALUE_TYPE_REAL 1 |
#define MYSQL_VALUE_TYPE_STRING 0 |
st_mysql_value struct for reading values from mysqld.
Used by server variables framework to parse user-provided values. Will be used for arguments when implementing UDFs.
Note that val_str() returns a string in temporary memory that will be freed at the end of statement. Copy the string if you need it to persist.