![]() |
MySQL 8.0.43
Source Code Documentation
|
Top-level node for the CREATE TABLE statement. More...
#include <parse_tree_nodes.h>
Public Member Functions | |
| PT_create_table_stmt (MEM_ROOT *mem_root, bool is_temporary, bool only_if_not_exists, Table_ident *table_name, const Mem_root_array< PT_table_element * > *opt_table_element_list, const Mem_root_array< PT_create_table_option * > *opt_create_table_options, PT_partition *opt_partitioning, On_duplicate on_duplicate, PT_query_expression_body *opt_query_expression) | |
| PT_create_table_stmt (MEM_ROOT *mem_root, bool is_temporary, bool only_if_not_exists, Table_ident *table_name, Table_ident *opt_like_clause) | |
| Sql_cmd * | make_cmd (THD *thd) override |
Public Member Functions inherited from PT_table_ddl_stmt_base | |
| PT_table_ddl_stmt_base (MEM_ROOT *mem_root) | |
| ~PT_table_ddl_stmt_base () override=0 | |
Private Attributes | |
| bool | is_temporary |
| bool | only_if_not_exists |
| Table_ident * | table_name |
| const Mem_root_array< PT_table_element * > * | opt_table_element_list |
| const Mem_root_array< PT_create_table_option * > * | opt_create_table_options |
| PT_partition * | opt_partitioning |
| On_duplicate | on_duplicate |
| PT_query_expression_body * | opt_query_expression |
| Table_ident * | opt_like_clause |
| HA_CREATE_INFO | m_create_info |
Additional Inherited Members | |
Protected Member Functions inherited from Parse_tree_root | |
| virtual | ~Parse_tree_root ()=default |
| Parse_tree_root ()=default | |
Protected Attributes inherited from PT_table_ddl_stmt_base | |
| Alter_info | m_alter_info |
Top-level node for the CREATE TABLE statement.
|
inline |
| mem_root | MEM_ROOT to use for allocation |
| is_temporary | True if CREATE TEMPORARY TABLE |
| only_if_not_exists | True if CREATE TABLE ... IF NOT EXISTS |
| table_name | CREATE TABLE ... <table name> |
| opt_table_element_list | NULL or a list of table column and constraint definitions. |
| opt_create_table_options | NULL or a list of table options. |
| opt_partitioning | NULL or the PARTITION BY clause. |
| on_duplicate | DUPLICATE, IGNORE or fail with an error on data duplication errors (relevant for CREATE TABLE ... SELECT statements). |
| opt_query_expression | NULL or the SELECT clause. |
|
inline |
| mem_root | MEM_ROOT to use for allocation |
| is_temporary | True if CREATE TEMPORARY TABLE. |
| only_if_not_exists | True if CREATE TABLE ... IF NOT EXISTS. |
| table_name | CREATE TABLE ... <table name>. |
| opt_like_clause | NULL or the LIKE <table name> clause. |
Implements Parse_tree_root.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |