24#ifndef GR_SET_SYSTEM_VARIABLE
25#define GR_SET_SYSTEM_VARIABLE
48 const std::string &value,
49 const std::string &
type)
171 const std::string &value,
172 const std::string &
type,
173 unsigned long long lock_wait_timeout);
Interface for Mysql_thread_body parameters.
Definition: mysql_thread.h:39
Interface for Mysql_thread_body, the task of a Mysql_thread.
Definition: mysql_thread.h:108
Definition: set_system_variable.h:30
const std::string m_value
Definition: set_system_variable.h:77
System_variable m_variable
Definition: set_system_variable.h:81
void set_error(int error)
Set value for class private member error.
Definition: set_system_variable.cc:32
Set_system_variable_parameters(System_variable variable, const std::string &value, const std::string &type)
Set_system_variable_parameters constructor.
Definition: set_system_variable.h:47
virtual ~Set_system_variable_parameters()
Definition: set_system_variable.h:51
System_variable
Definition: set_system_variable.h:32
@ VAR_SUPER_READ_ONLY
Definition: set_system_variable.h:34
@ VAR_GROUP_REPLICATION_SINGLE_PRIMARY_MODE
Definition: set_system_variable.h:36
@ VAR_OFFLINE_MODE
Definition: set_system_variable.h:35
@ VAR_READ_ONLY
Definition: set_system_variable.h:33
@ VAR_GROUP_REPLICATION_ENFORCE_UPDATE_EVERYWHERE_CHECKS
Definition: set_system_variable.h:37
int m_error
Definition: set_system_variable.h:82
Set_system_variable_parameters::System_variable get_variable()
Get value for class private member variable.
Definition: set_system_variable.cc:35
const std::string m_type
Definition: set_system_variable.h:78
int get_error()
Get value for class private member error.
Definition: set_system_variable.cc:30
Definition: set_system_variable.h:85
int set_persist_only_group_replication_enforce_update_everywhere_checks(bool value)
Method to only persist the value of group_replication_enforce_update_everywhere_checks.
Definition: set_system_variable.cc:152
virtual ~Set_system_variable()=default
int set_global_super_read_only(bool value)
Method to set the global value of super_read_only.
Definition: set_system_variable.cc:70
void run(Mysql_thread_body_parameters *parameters)
Method that will be run on mysql_thread.
Definition: set_system_variable.cc:178
Set_system_variable()=default
int internal_set_system_variable(const std::string &variable, const std::string &value, const std::string &type, unsigned long long lock_wait_timeout)
Method to set the server system variable specified on variable.
Definition: set_system_variable.cc:228
int set_global_offline_mode(bool value)
Method to set the global value of offline_mode.
Definition: set_system_variable.cc:101
int set_persist_only_group_replication_single_primary_mode(bool value)
Method to only persist the value of group_replication_single_primary_mode.
Definition: set_system_variable.cc:125
int set_global_read_only(bool value)
Method to set the global value of read_only.
Definition: set_system_variable.cc:39
System variable derived from sys_var object.
Definition: pfs_variable.h:169
required string type
Definition: replication_group_member_actions.proto:34