MySQL 26.7.0
Source Code Documentation
ib::Sys_var_handler_interface Class Referenceabstract

#include <ha0sys_var_handler_interface.h>

Inheritance diagram for ib::Sys_var_handler_interface:
[legend]

Public Member Functions

virtual ~Sys_var_handler_interface ()=default
 Default destructor. More...
 
virtual bool update_var (THD *thd, std::string_view name, uint64_t new_value)=0
 Update the system variable to the new value. More...
 
virtual bool update_var (THD *thd, std::string_view name, bool new_value)=0
 Update the system variable to the new value. More...
 

Constructor & Destructor Documentation

◆ ~Sys_var_handler_interface()

virtual ib::Sys_var_handler_interface::~Sys_var_handler_interface ( )
virtualdefault

Default destructor.

Member Function Documentation

◆ update_var() [1/2]

virtual bool ib::Sys_var_handler_interface::update_var ( THD thd,
std::string_view  name,
bool  new_value 
)
pure virtual

Update the system variable to the new value.

Parameters
[in]thdTHD object, may be used to print warning
[in]nameThe system variable name
[in]new_valueThe value to be updated
Returns
true System variable was updated successfully
false Otherwise

Implemented in ib::fil::Pages_persistence_sys_vars_handler, and ib::redo::Sys_var_handler.

◆ update_var() [2/2]

virtual bool ib::Sys_var_handler_interface::update_var ( THD thd,
std::string_view  name,
uint64_t  new_value 
)
pure virtual

Update the system variable to the new value.

Parameters
[in]thdTHD object, may be used to print warning
[in]nameThe system variable name
[in]new_valueThe value to be updated
Returns
true System variable was updated successfully
false Otherwise

Implemented in ib::fil::Pages_persistence_sys_vars_handler, and ib::redo::Sys_var_handler.


The documentation for this class was generated from the following file: