24#ifndef GR_GET_SYSTEM_VARIABLE
25#define GR_GET_SYSTEM_VARIABLE
161 size_t value_max_length);
Definition: get_system_variable.h:30
int m_error
Definition: get_system_variable.h:72
std::string m_result
Definition: get_system_variable.h:67
Get_system_variable_parameters::System_variable_service get_service()
Set value for class private member service.
Definition: get_system_variable.cc:36
virtual ~Get_system_variable_parameters()
Definition: get_system_variable.h:41
System_variable_service
Definition: get_system_variable.h:32
@ VAR_READ_ONLY
Definition: get_system_variable.h:35
@ VAR_GTID_EXECUTED
Definition: get_system_variable.h:33
@ VAR_GTID_PURGED
Definition: get_system_variable.h:34
@ VAR_SUPER_READ_ONLY
Definition: get_system_variable.h:36
Get_system_variable_parameters(System_variable_service service)
Definition: get_system_variable.h:39
void set_error(int error)
Set value for class private member error.
Definition: get_system_variable.cc:33
System_variable_service m_service
Definition: get_system_variable.h:70
int get_error()
Get value for class private member error.
Definition: get_system_variable.cc:31
Definition: get_system_variable.h:75
Get_system_variable()=default
int internal_get_system_variable(std::string variable, std::string &value, size_t value_max_length)
Method to return the server system variable specified on variable.
Definition: get_system_variable.cc:165
~Get_system_variable() override=default
int get_global_gtid_purged(std::string >id_purged)
Method to return the server gtid_purged by executing the get_variables component service.
Definition: get_system_variable.cc:62
int get_global_read_only(bool &value)
Method to return the global value of read_only by executing the get_variables component service.
Definition: get_system_variable.cc:84
void run(Mysql_thread_body_parameters *parameters) override
Method that will be run on mysql_thread.
Definition: get_system_variable.cc:136
int get_global_super_read_only(bool &value)
Method to return the global value of super_read_only by executing the get_variables component service...
Definition: get_system_variable.cc:106
int get_global_gtid_executed(std::string >id_executed)
Method to return the server gtid_executed by executing the get_variables component service.
Definition: get_system_variable.cc:40
bool string_to_bool(const std::string &value)
Method to convert a string into a boolean.
Definition: get_system_variable.cc:128
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
Gtid_set * gtid_purged
Definition: sys_vars.cc:6566