24#ifndef SQL_JOIN_OPTIMIZER_JOIN_DERIVED_KEYS_H
25#define SQL_JOIN_OPTIMIZER_JOIN_DERIVED_KEYS_H
Definition: sql_optimizer.h:133
This class represents a query block, aka a query specification, which is a query consisting of a SELE...
Definition: sql_lex.h:1159
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
bool MakeDerivedKeys(THD *thd, JOIN *join)
Collect the set fields of derived tables that are present in predicates like "derived_tab....
Definition: derived_keys.cc:145
void FinalizeDerivedKeys(THD *thd, const Query_block &query_block, AccessPath *root_path)
Remove any unused keys on derived tables.
Definition: derived_keys.cc:422
std::string join(const detail::range auto &rng, std::string_view delim)
join elements of a range into a string separated by a delimiter.
Definition: string.h:74
Access paths are a query planning structure that correspond 1:1 to iterators, in that an access path ...
Definition: access_path.h:227