23#ifndef SQL_CMD_CREATE_TABLE_INCLUDED
24#define SQL_CMD_CREATE_TABLE_INCLUDED
95 using Sql_cmd_create_or_drop_index_base::Sql_cmd_create_or_drop_index_base;
104 using Sql_cmd_create_or_drop_index_base::Sql_cmd_create_or_drop_index_base;
Data describing the table being created by CREATE TABLE or altered by ALTER TABLE.
Definition: sql_alter.h:203
Definition: sql_cmd_ddl_table.h:111
bool assign_to_keycache(THD *thd, Table_ref *tables)
Definition: sql_admin.cc:1558
enum_sql_command sql_command_code() const override
Return the command code for this statement.
Definition: sql_cmd_ddl_table.h:116
bool execute(THD *thd) override
Execute this SQL statement.
Definition: sql_cmd_ddl_table.cc:547
Sql_cmd_cache_index(Alter_info *alter_info, const LEX_CSTRING &key_cache_name)
Definition: sql_cmd_ddl_table.h:113
const LEX_CSTRING m_key_cache_name
Definition: sql_cmd_ddl_table.h:126
Definition: sql_cmd_ddl_table.h:93
enum_sql_command sql_command_code() const override
Return the command code for this statement.
Definition: sql_cmd_ddl_table.h:97
Definition: sql_cmd_ddl_table.h:81
bool execute(THD *thd) override
Execute this SQL statement.
Definition: sql_cmd_ddl_table.cc:501
~Sql_cmd_create_or_drop_index_base() override=0
Definition: sql_cmd_ddl_table.h:61
enum_sql_command sql_command_code() const override
Return the command code for this statement.
Definition: sql_cmd_ddl_table.h:68
const MYSQL_LEX_CSTRING * eligible_secondary_storage_engine() const override
Is this statement of a type and on a form that makes it eligible for execution in a secondary storage...
Definition: sql_cmd_ddl_table.cc:463
Table_ref * query_expression_tables
Definition: sql_cmd_ddl_table.h:78
bool prepare(THD *thd) override
Validate and prepare for execution CREATE TABLE statement.
Definition: sql_prepare.cc:1110
Sql_cmd_create_table(Alter_info *alter_info, Table_ref *query_expression_tables)
Definition: sql_cmd_ddl_table.h:63
bool execute(THD *thd) override
Execute this SQL statement.
Definition: sql_cmd_ddl_table.cc:132
A base class for CREATE/ALTER TABLE commands and friends.
Definition: sql_cmd_ddl_table.h:49
~Sql_cmd_ddl_table() override=0
Alter_info *const m_alter_info
Definition: sql_cmd_ddl_table.h:56
Sql_cmd_ddl_table(Alter_info *alter_info)
Definition: sql_cmd_ddl_table.cc:67
Definition: sql_cmd_ddl_table.h:102
enum_sql_command sql_command_code() const override
Return the command code for this statement.
Definition: sql_cmd_ddl_table.h:106
Definition: sql_cmd_ddl_table.h:129
bool preload_keys(THD *thd, Table_ref *tables)
Definition: sql_admin.cc:1595
bool execute(THD *thd) override
Execute this SQL statement.
Definition: sql_cmd_ddl_table.cc:555
enum_sql_command sql_command_code() const override
Return the command code for this statement.
Definition: sql_cmd_ddl_table.h:133
Representation of an SQL command.
Definition: sql_cmd.h:64
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:33
enum_sql_command
Definition: my_sqlcommand.h:45
@ SQLCOM_ASSIGN_TO_KEYCACHE
Definition: my_sqlcommand.h:93
@ SQLCOM_CREATE_INDEX
Definition: my_sqlcommand.h:48
@ SQLCOM_PRELOAD_KEYS
Definition: my_sqlcommand.h:94
@ SQLCOM_CREATE_TABLE
Definition: my_sqlcommand.h:47
@ SQLCOM_DROP_INDEX
Definition: my_sqlcommand.h:56
Definition: mysql_lex_string.h:39