MySQL 8.4.3
Source Code Documentation
|
A base class for everything that can be set with SET command. More...
#include <set_var.h>
Public Member Functions | |
set_var_base ()=default | |
virtual | ~set_var_base ()=default |
virtual int | resolve (THD *thd)=0 |
Check privileges & fix_fields. More... | |
virtual int | check (THD *thd)=0 |
Evaluate the expression. More... | |
virtual int | update (THD *thd)=0 |
Set the value. More... | |
virtual bool | print (const THD *thd, String *str)=0 |
To self-print. More... | |
virtual bool | is_var_optimizer_trace () const |
virtual void | cleanup () |
virtual int | light_check (THD *thd) |
Used only by prepared statements to resolve and check. More... | |
virtual bool | is_sensitive () const |
Used to identify if variable is sensitive or not. More... | |
A base class for everything that can be set with SET command.
It's similar to Items, an instance of this is created by the parser for every assignment in SET (or elsewhere, e.g. in SELECT).
|
default |
|
virtualdefault |
|
pure virtual |
Evaluate the expression.
Implemented in set_var, set_var_user, set_var_password, and set_var_collation_client.
|
inlinevirtual |
|
inlinevirtual |
Used to identify if variable is sensitive or not.
Reimplemented in set_var.
|
inlinevirtual |
Reimplemented in set_var.
|
inlinevirtual |
Used only by prepared statements to resolve and check.
No locking of tables between the two phases.
Reimplemented in set_var, and set_var_user.
To self-print.
Implemented in set_var, set_var_user, set_var_password, and set_var_collation_client.
|
pure virtual |
Check privileges & fix_fields.
Implemented in set_var_password, set_var_collation_client, set_var, and set_var_user.
|
pure virtual |
Set the value.
Implemented in set_var, set_var_user, set_var_password, and set_var_collation_client.