summaryrefslogtreecommitdiff
path: root/sql/sql_alter.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2019-05-31 15:24:40 +0400
committerAlexander Barkov <bar@mariadb.com>2019-05-31 16:22:53 +0400
commit5a19908b955a6aeeeb09fb2ce7744d1c52b65a3b (patch)
tree05da05a68f61c10a340c82ef7ae7286b12e728d6 /sql/sql_alter.h
parentdd939d6f7e57e418a6f80fb9057eef8823beaff6 (diff)
downloadmariadb-git-5a19908b955a6aeeeb09fb2ce7744d1c52b65a3b.tar.gz
MDEV-19653 Add class Sql_cmd_create_table
Diffstat (limited to 'sql/sql_alter.h')
-rw-r--r--sql/sql_alter.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/sql_alter.h b/sql/sql_alter.h
index a503837bfee..473208f0675 100644
--- a/sql/sql_alter.h
+++ b/sql/sql_alter.h
@@ -385,7 +385,8 @@ protected:
Sql_cmd_alter_table represents the generic ALTER TABLE statement.
@todo move Alter_info and other ALTER specific structures from Lex here.
*/
-class Sql_cmd_alter_table : public Sql_cmd_common_alter_table
+class Sql_cmd_alter_table : public Sql_cmd_common_alter_table,
+ public Storage_engine_name
{
public:
/**
@@ -397,6 +398,8 @@ public:
~Sql_cmd_alter_table()
{}
+ Storage_engine_name *option_storage_engine_name() { return this; }
+
bool execute(THD *thd);
};