24#ifndef SQL_CMD_CREATE_TABLE_INCLUDED 
   25#define SQL_CMD_CREATE_TABLE_INCLUDED 
   77      THD *thd) 
const override;
 
  101  using Sql_cmd_create_or_drop_index_base::Sql_cmd_create_or_drop_index_base;
 
  115  bool execute(
THD *thd [[maybe_unused]])
 override { 
return false; }
 
  120  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:205
 
Definition: sql_cmd_ddl_table.h:127
 
bool assign_to_keycache(THD *thd, Table_ref *tables)
Definition: sql_admin.cc:1673
 
enum_sql_command sql_command_code() const override
Return the command code for this statement.
Definition: sql_cmd_ddl_table.h:132
 
bool execute(THD *thd) override
Execute this SQL statement.
Definition: sql_cmd_ddl_table.cc:610
 
Sql_cmd_cache_index(Alter_info *alter_info, const LEX_CSTRING &key_cache_name)
Definition: sql_cmd_ddl_table.h:129
 
const LEX_CSTRING m_key_cache_name
Definition: sql_cmd_ddl_table.h:142
 
Definition: sql_cmd_ddl_table.h:99
 
enum_sql_command sql_command_code() const override
Return the command code for this statement.
Definition: sql_cmd_ddl_table.h:103
 
bool reprepare_on_execute_required() const override
Some SQL commands currently require re-preparation on re-execution of a prepared statement or stored ...
Definition: sql_cmd_ddl_table.cc:598
 
Definition: sql_cmd_ddl_table.h:87
 
bool execute(THD *thd) override
Execute this SQL statement.
Definition: sql_cmd_ddl_table.cc:552
 
~Sql_cmd_create_or_drop_index_base() override=0
 
Definition: sql_cmd_ddl_table.h:62
 
bool are_dynamic_parameters_allowed() const override
Need to allow this for CREATE ... AS SELECT ...
Definition: sql_cmd_ddl_table.h:74
 
enum_sql_command sql_command_code() const override
Return the command code for this statement.
Definition: sql_cmd_ddl_table.h:69
 
Table_ref * query_expression_tables
Definition: sql_cmd_ddl_table.h:84
 
const MYSQL_LEX_CSTRING * eligible_secondary_storage_engine(THD *thd) 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:514
 
bool prepare(THD *thd) override
Validate and prepare for execution CREATE TABLE statement.
Definition: sql_prepare.cc:1068
 
bool reprepare_on_execute_required() const override
Some SQL commands currently require re-preparation on re-execution of a prepared statement or stored ...
Definition: sql_cmd_ddl_table.cc:501
 
Sql_cmd_create_table(Alter_info *alter_info, Table_ref *query_expression_tables)
Definition: sql_cmd_ddl_table.h:64
 
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:50
 
~Sql_cmd_ddl_table() override=0
 
Alter_info *const m_alter_info
Definition: sql_cmd_ddl_table.h:57
 
Sql_cmd_ddl_table(Alter_info *alter_info)
Definition: sql_cmd_ddl_table.cc:68
 
Definition: sql_cmd_ddl.h:33
 
Definition: sql_cmd_ddl_table.h:118
 
enum_sql_command sql_command_code() const override
Return the command code for this statement.
Definition: sql_cmd_ddl_table.h:122
 
Definition: sql_cmd_ddl_table.h:109
 
bool execute(THD *thd) override
Execute this SQL statement.
Definition: sql_cmd_ddl_table.h:115
 
enum_sql_command sql_command_code() const override
Return the command code for this statement.
Definition: sql_cmd_ddl_table.h:111
 
Definition: sql_cmd_ddl_table.h:145
 
bool preload_keys(THD *thd, Table_ref *tables)
Definition: sql_admin.cc:1710
 
bool execute(THD *thd) override
Execute this SQL statement.
Definition: sql_cmd_ddl_table.cc:618
 
enum_sql_command sql_command_code() const override
Return the command code for this statement.
Definition: sql_cmd_ddl_table.h:149
 
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
 
enum_sql_command
Definition: my_sqlcommand.h:46
 
@ SQLCOM_DROP_TABLE
Definition: my_sqlcommand.h:56
 
@ SQLCOM_ASSIGN_TO_KEYCACHE
Definition: my_sqlcommand.h:94
 
@ SQLCOM_CREATE_INDEX
Definition: my_sqlcommand.h:49
 
@ SQLCOM_PRELOAD_KEYS
Definition: my_sqlcommand.h:95
 
@ SQLCOM_CREATE_TABLE
Definition: my_sqlcommand.h:48
 
@ SQLCOM_DROP_INDEX
Definition: my_sqlcommand.h:57
 
Definition: mysql_lex_string.h:40