MySQL 9.1.0
Source Code Documentation
|
Classes | |
class | store_key_const_item |
class | store_key_json_item |
Functions | |
bool | has_secondary_engine_defined (const LEX *lex, const Table_ref **tref) |
void | accumulate_statement_cost (const LEX *lex) |
Calculates the cost of executing a statement, including all its subqueries and stores it in thd->m_current_query_cost. More... | |
bool | SecondaryEngineCallPrePrepareHook (THD *thd, const LEX_CSTRING &secondary_engine) |
Gets the secondary storage engine pre prepare hook function, if any. More... | |
std::optional< LEX_CSTRING > | retry_with_secondary_engine (THD *thd) |
Checks if the current query is a candidate for being retried in the secondary engine. More... | |
void anonymous_namespace{sql_select.cc}::accumulate_statement_cost | ( | const LEX * | lex | ) |
Calculates the cost of executing a statement, including all its subqueries and stores it in thd->m_current_query_cost.
lex | the statement |
bool anonymous_namespace{sql_select.cc}::has_secondary_engine_defined | ( | const LEX * | lex, |
const Table_ref ** | tref | ||
) |
std::optional< LEX_CSTRING > anonymous_namespace{sql_select.cc}::retry_with_secondary_engine | ( | THD * | thd | ) |
Checks if the current query is a candidate for being retried in the secondary engine.
thd | The current session. |
bool anonymous_namespace{sql_select.cc}::SecondaryEngineCallPrePrepareHook | ( | THD * | thd, |
const LEX_CSTRING & | secondary_engine | ||
) |
Gets the secondary storage engine pre prepare hook function, if any.
If no hook is found, this function returns false. If hook function is found, it returns the return value of the hook. Please refer to secondary_engine_pre_prepare_hook_t definition for description of its return value.