![]() |
MySQL 8.1.0
Source Code Documentation
|
Extracts the value of server variable. More...
#include <show_variable_query_extractor.h>
Static Public Member Functions | |
static int64 | get_variable_value (Mysql_query_runner *query_runner, std::string variable, std::string &value, bool &exists) |
Extract the value of server variable. More... | |
Private Member Functions | |
Show_variable_query_extractor () | |
int64 | extract_variable (const Mysql_query_runner::Row &result_row) |
Result row callback to be used in query runner. More... | |
Private Attributes | |
std::string | m_extracted_variable |
Temporary placeholder for extracted value. More... | |
bool | m_exists |
Temporary placeholder for value received flag. More... | |
Extracts the value of server variable.
|
private |
|
private |
Result row callback to be used in query runner.
|
static |
Extract the value of server variable.
[in] | query_runner | MySQL query runner to use. |
[in] | variable | Name of variable to get value of. |
[out] | value | reference to String to store variable value to. |
[out] | exists | reference to bool to store if variable was found. |
|
private |
Temporary placeholder for value received flag.
|
private |
Temporary placeholder for extracted value.