#include <engine_combination_tracker.h>
|
| bool | check_engine (const std::string &engine_name, const std::string &database_name, const std::string &table_name, std::string &prev_engine_name, std::string &prev_database_name, std::string &prev_table_name) |
| | This function determines whether the current engine is compatible with previous engine or not. More...
|
| |
| void | clear_known_engine () |
| | This method clear the registered engine in the variable m_known_engine. More...
|
| |
| bool | get_warning_already_emitted () |
| | This method get the value of is_warning_already_emitted. More...
|
| |
| void | set_warning_already_emitted (bool value) |
| | This method sets the value of is_warning_already_emitted. More...
|
| |
◆ check_engine()
| bool Engine_combination_tracker::check_engine |
( |
const std::string & |
engine_name, |
|
|
const std::string & |
database_name, |
|
|
const std::string & |
table_name, |
|
|
std::string & |
prev_engine_name, |
|
|
std::string & |
prev_database_name, |
|
|
std::string & |
prev_table_name |
|
) |
| |
This function determines whether the current engine is compatible with previous engine or not.
- Parameters
-
| [in] | engine_name | current engine name |
| [in] | database_name | current database name |
| [in] | table_name | current table name |
| [out] | prev_engine_name | the incompatible engine name (for logging) |
| [out] | prev_database_name | the incompatible database (for logging) |
| [out] | prev_table_name | the incompatible table (for logging) |
- Return values
-
| true | if engine is not compatible |
| false | if engine is compatible |
◆ clear_known_engine()
| void Engine_combination_tracker::clear_known_engine |
( |
| ) |
|
This method clear the registered engine in the variable m_known_engine.
◆ get_warning_already_emitted()
| bool Engine_combination_tracker::get_warning_already_emitted |
( |
| ) |
|
This method get the value of is_warning_already_emitted.
- Return values
-
| true | if a warning was already emitted false otherwise |
◆ set_warning_already_emitted()
| void Engine_combination_tracker::set_warning_already_emitted |
( |
bool |
value | ) |
|
This method sets the value of is_warning_already_emitted.
- Parameters
-
◆ is_warning_already_emitted
| bool Engine_combination_tracker::is_warning_already_emitted = false |
|
private |
If a warning was already emitted for this transactions.
◆ m_known_engine
| std::tuple<std::string, std::string, std::string> Engine_combination_tracker::m_known_engine |
|
private |
The engine data already seen used to check for incompatibilities.
The documentation for this class was generated from the following files: