MySQL 8.4.2
Source Code Documentation
|
Service to set the default value of system variables. More...
#include <mysql_system_variable.h>
Public Attributes | |
mysql_service_status_t(* | set )(MYSQL_THD thd, const char *variable_type, my_h_string variable_base, my_h_string variable_name) |
Sets the value of a system variable to its default value. More... | |
Service to set the default value of system variables.
This is an example of using the service:
mysql_service_status_t(* s_mysql_mysql_system_variable_update_default::set) (MYSQL_THD thd, const char *variable_type, my_h_string variable_base, my_h_string variable_name) |
Sets the value of a system variable to its default value.
thd | thread session handle. if NULL a temp one will be created and then removed. |
variable_type | One of GLOBAL, SESSION, PERSIST, PERSIST_ONLY. If NULL, then assumes GLOBAL. SESSION is not supported for a temporary THD. |
variable_base | a mysql string of the variable name prefix. NULL if none |
variable_name | MySQL string of the variable name |
FALSE | success |
TRUE | failure, error set. For error info, see THD if supplied. |