MySQL 8.4.2
Source Code Documentation
|
#include <set_var.h>
Public Member Functions | |
set_var_user (Item_func_set_user_var *item) | |
int | resolve (THD *thd) override |
Check privileges & fix_fields. More... | |
int | check (THD *thd) override |
Evaluate the expression. More... | |
int | update (THD *thd) override |
Set the value. More... | |
int | light_check (THD *thd) override |
Check variable, but without assigning value (used by PS). More... | |
bool | print (const THD *thd, String *str) override |
To self-print. More... | |
Public Member Functions inherited from set_var_base | |
set_var_base ()=default | |
virtual | ~set_var_base ()=default |
virtual bool | is_var_optimizer_trace () const |
virtual void | cleanup () |
virtual bool | is_sensitive () const |
Used to identify if variable is sensitive or not. More... | |
Private Attributes | |
Item_func_set_user_var * | user_var_item |
|
inline |
|
overridevirtual |
Evaluate the expression.
Implements set_var_base.
|
overridevirtual |
Check variable, but without assigning value (used by PS).
thd | thread handler |
0 | ok |
1 | ERROR, message sent (normally no variables was updated) |
-1 | ERROR, message not sent |
Reimplemented from set_var_base.
To self-print.
Implements set_var_base.
|
overridevirtual |
Check privileges & fix_fields.
Implements set_var_base.
|
overridevirtual |
Set the value.
Implements set_var_base.
|
private |