MySQL 8.0.39
Source Code Documentation
|
Environment data for the contextualization phase. More...
#include <parse_tree_node_base.h>
Public Member Functions | |
bool | finalize_query_expression () |
Call upon parse completion. More... | |
Parse_context (THD *thd, Query_block *sl) | |
bool | is_top_level_union_all (Surrounding_context op) |
Determine if there is anything but UNION ALL above in m_stack. More... | |
Public Attributes | |
THD *const | thd |
Current thread handler. More... | |
MEM_ROOT * | mem_root |
Current MEM_ROOT. More... | |
Query_block * | select |
Current Query_block object. More... | |
mem_root_deque< QueryLevel > | m_stack |
Aids query term tree construction. More... | |
Environment data for the contextualization phase.
Parse_context::Parse_context | ( | THD * | thd, |
Query_block * | sl | ||
) |
bool Parse_context::finalize_query_expression | ( | ) |
Call upon parse completion.
Set the parsed query expression's query term.
For its construction, see parse_tree_nodes.cc's contextualize methods. Query_term is documented in query_term.h .
bool Parse_context::is_top_level_union_all | ( | Surrounding_context | op | ) |
Determine if there is anything but UNION ALL above in m_stack.
mem_root_deque<QueryLevel> Parse_context::m_stack |
Aids query term tree construction.
MEM_ROOT* Parse_context::mem_root |
Current MEM_ROOT.
Query_block* Parse_context::select |
Current Query_block object.
THD* const Parse_context::thd |
Current thread handler.