This class implements the handling of redo log related system variables.
More...
#include <log0sys_var_handler.h>
This class implements the handling of redo log related system variables.
◆ Sys_var_handler()
| ib::redo::Sys_var_handler::Sys_var_handler |
( |
Handler & |
handler | ) |
|
|
inline |
◆ ~Sys_var_handler()
| ib::redo::Sys_var_handler::~Sys_var_handler |
( |
| ) |
|
|
override |
◆ buffer_size_update()
| bool ib::redo::Sys_var_handler::buffer_size_update |
( |
uint64_t |
value | ) |
|
|
private |
Update the innodb_log_buffer_size system variable.
◆ capacity_update()
| bool ib::redo::Sys_var_handler::capacity_update |
( |
THD * |
thd, |
|
|
std::string_view |
var_name, |
|
|
uint64_t |
value |
|
) |
| |
|
private |
Update the innodb_redo_log_capacity system variable.
◆ log_write_ahead_size_update()
| bool ib::redo::Sys_var_handler::log_write_ahead_size_update |
( |
THD * |
thd, |
|
|
std::string_view |
var_name, |
|
|
uint64_t |
value |
|
) |
| |
|
private |
◆ update_var() [1/2]
| bool ib::redo::Sys_var_handler::update_var |
( |
THD * |
thd, |
|
|
std::string_view |
name, |
|
|
bool |
new_value |
|
) |
| |
|
overridevirtual |
Update the system variable to the new value.
- Parameters
-
| [in] | thd | THD object, may be used to print warning |
| [in] | name | The system variable name |
| [in] | new_value | The value to be updated |
- Returns
- true System variable was updated successfully
-
false Otherwise
Implements ib::Sys_var_handler_interface.
◆ update_var() [2/2]
| bool ib::redo::Sys_var_handler::update_var |
( |
THD * |
thd, |
|
|
std::string_view |
name, |
|
|
uint64_t |
new_value |
|
) |
| |
|
overridevirtual |
Update the system variable to the new value.
- Parameters
-
| [in] | thd | THD object, may be used to print warning |
| [in] | name | The system variable name |
| [in] | new_value | The value to be updated |
- Returns
- true System variable was updated successfully
-
false Otherwise
Implements ib::Sys_var_handler_interface.
◆ writer_threads_update()
| void ib::redo::Sys_var_handler::writer_threads_update |
( |
bool |
value | ) |
|
|
private |
Update the innodb_log_writer_threads system variable.
◆ m_handler
| Handler& ib::redo::Sys_var_handler::m_handler |
|
private |
The documentation for this class was generated from the following files: