#include <set_var.h>
Additional Inherited Members |
static void * | operator new (size_t size) throw () |
static void * | operator new[] (size_t size) throw () |
static void * | operator new[] (size_t size, MEM_ROOT *mem_root) throw () |
static void * | operator new (size_t size, MEM_ROOT *mem_root) throw () |
static void | operator delete (void *ptr, size_t size) |
static void | operator delete (void *ptr, MEM_ROOT *mem_root) |
static void | operator delete[] (void *ptr, MEM_ROOT *mem_root) |
static void | operator delete[] (void *ptr, size_t size) |
Detailed Description
set_var_base descendant for assignments to the system variables.
Definition at line 210 of file set_var.h.
Member Function Documentation
int set_var::check |
( |
THD * |
thd | ) |
|
|
virtual |
Verify that the supplied value is correct.
- Parameters
-
- Returns
- status code
- Return values
-
Implements set_var_base.
Definition at line 595 of file set_var.cc.
int set_var::light_check |
( |
THD * |
thd | ) |
|
|
virtual |
Check variable, but without assigning value (used by PS).
- Parameters
-
- Return values
-
0 | ok |
1 | ERROR, message sent (normally no variables was updated) |
-1 | ERROR, message not sent |
Reimplemented from set_var_base.
Definition at line 639 of file set_var.cc.
void set_var::print |
( |
THD * |
thd, |
|
|
String * |
str |
|
) |
| |
|
virtual |
Self-print assignment
- Parameters
-
str | string buffer to append the partial assignment to |
Implements set_var_base.
Definition at line 678 of file set_var.cc.
int set_var::update |
( |
THD * |
thd | ) |
|
|
virtual |
Update variable
- Parameters
-
- Returns
- 0|1 ok or ERROR
- Note
- ERROR can be only due to abnormal operations involving the server's execution evironment such as out of memory, hard disk failure or the computer blows up. Consider set_var::check() method if there is a need to return an error due to logics.
Implements set_var_base.
Definition at line 668 of file set_var.cc.
Member Data Documentation
for structured variables, like keycache_name.variable_name
Definition at line 225 of file set_var.h.
The documentation for this class was generated from the following files: