#include <set_system_variable.h>
◆ Set_system_variable()
Set_system_variable::Set_system_variable |
( |
| ) |
|
|
default |
◆ ~Set_system_variable()
virtual Set_system_variable::~Set_system_variable |
( |
| ) |
|
|
virtualdefault |
◆ internal_set_system_variable()
int Set_system_variable::internal_set_system_variable |
( |
const std::string & |
variable, |
|
|
const std::string & |
value, |
|
|
const std::string & |
type, |
|
|
unsigned long long |
lock_wait_timeout |
|
) |
| |
|
private |
Method to set the server system variable specified on variable.
- Parameters
-
[in] | variable | The system variable name to be set |
[in] | value | The value to be set |
[in] | type | GLOBAL or PERSIST_ONLY |
[in] | lock_wait_timeout | Lock wait timeout in seconds |
- Returns
- the error value returned
- Return values
-
◆ run()
Method that will be run on mysql_thread.
- Parameters
-
[in,out] | parameters | Values used by method to get service variable. |
Implements Mysql_thread_body.
◆ set_global_offline_mode()
int Set_system_variable::set_global_offline_mode |
( |
bool |
value | ) |
|
Method to set the global value of offline_mode.
- Parameters
-
[in] | value | The value to be set |
- Returns
- the error value returned
- Return values
-
◆ set_global_read_only()
int Set_system_variable::set_global_read_only |
( |
bool |
value | ) |
|
Method to set the global value of read_only.
- Parameters
-
[in] | value | The value to be set |
- Returns
- the error value returned
- Return values
-
◆ set_global_super_read_only()
int Set_system_variable::set_global_super_read_only |
( |
bool |
value | ) |
|
Method to set the global value of super_read_only.
- Parameters
-
[in] | value | The value to be set |
- Returns
- the error value returned
- Return values
-
◆ set_persist_only_group_replication_enforce_update_everywhere_checks()
int Set_system_variable::set_persist_only_group_replication_enforce_update_everywhere_checks |
( |
bool |
value | ) |
|
Method to only persist the value of group_replication_enforce_update_everywhere_checks.
- Parameters
-
[in] | value | The value to be persisted |
- Returns
- the error value returned
- Return values
-
◆ set_persist_only_group_replication_single_primary_mode()
int Set_system_variable::set_persist_only_group_replication_single_primary_mode |
( |
bool |
value | ) |
|
Method to only persist the value of group_replication_single_primary_mode.
- Parameters
-
[in] | value | The value to be persisted |
- Returns
- the error value returned
- Return values
-
The documentation for this class was generated from the following files: