MySQL 9.1.0
Source Code Documentation
|
Parse context for the table DDL (ALTER TABLE and CREATE TABLE) nodes. More...
#include <parse_tree_nodes.h>
Public Member Functions | |
Table_ddl_parse_context (THD *thd_arg, Query_block *select_arg, Alter_info *alter_info) | |
Public Member Functions inherited from Parse_context | |
bool | finalize_query_expression () |
Call upon parse completion. More... | |
Parse_context (THD *thd, Query_block *sl, bool show_parse_tree, Show_parse_tree *parent_show_parent_tree) | |
Parse_context (THD *thd_arg, Query_block *sl_arg, bool show_parse_tree=false) | |
Parse_context (THD *thd_arg, Query_block *sl_arg, Show_parse_tree *parent_show_parent_tree) | |
bool | is_top_level_union_all (Surrounding_context op) |
Determine if there is anything but UNION ALL above in m_stack. More... | |
Public Member Functions inherited from Parse_context_base | |
Parse_context_base (bool show_parse_tree=false, Show_parse_tree *parent_show_parent_tree=nullptr) | |
Public Attributes | |
HA_CREATE_INFO *const | create_info |
Alter_info *const | alter_info |
KEY_CREATE_INFO *const | key_create_info |
Public Attributes inherited from Parse_context | |
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... | |
Public Attributes inherited from Parse_context_base | |
std::unique_ptr< Show_parse_tree > | m_show_parse_tree = nullptr |
Parse context for the table DDL (ALTER TABLE and CREATE TABLE) nodes.
For internal use in the contextualization code.
Table_ddl_parse_context::Table_ddl_parse_context | ( | THD * | thd_arg, |
Query_block * | select_arg, | ||
Alter_info * | alter_info | ||
) |
Alter_info* const Table_ddl_parse_context::alter_info |
HA_CREATE_INFO* const Table_ddl_parse_context::create_info |
KEY_CREATE_INFO* const Table_ddl_parse_context::key_create_info |