MySQL 8.2.0
Source Code Documentation
Table_ddl_parse_context Struct Referencefinal

Parse context for the table DDL (ALTER TABLE and CREATE TABLE) nodes. More...

#include <parse_tree_nodes.h>

Inheritance diagram for Table_ddl_parse_context:
[legend]

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_ROOTmem_root
 Current MEM_ROOT. More...
 
Query_blockselect
 Current Query_block object. More...
 
mem_root_deque< QueryLevelm_stack
 Aids query term tree construction. More...
 
- Public Attributes inherited from Parse_context_base
std::unique_ptr< Show_parse_treem_show_parse_tree = nullptr
 

Detailed Description

Parse context for the table DDL (ALTER TABLE and CREATE TABLE) nodes.

For internal use in the contextualization code.

Constructor & Destructor Documentation

◆ Table_ddl_parse_context()

Table_ddl_parse_context::Table_ddl_parse_context ( THD thd_arg,
Query_block select_arg,
Alter_info alter_info 
)

Member Data Documentation

◆ alter_info

Alter_info* const Table_ddl_parse_context::alter_info

◆ create_info

HA_CREATE_INFO* const Table_ddl_parse_context::create_info

◆ key_create_info

KEY_CREATE_INFO* const Table_ddl_parse_context::key_create_info

The documentation for this struct was generated from the following files: