summaryrefslogtreecommitdiff
path: root/sql/sql_alter.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2017-11-15 19:18:28 +0400
committerAlexander Barkov <bar@mariadb.org>2017-11-15 19:18:28 +0400
commit1c3460843613c6e7ac28456c0f24085a8877e13f (patch)
tree675017a6b5666a1629100fb2ad4eb728d8f73473 /sql/sql_alter.h
parent7663773e56e64098b1126651a6ff3cbc41192329 (diff)
downloadmariadb-git-1c3460843613c6e7ac28456c0f24085a8877e13f.tar.gz
MDEV-14404 Don't use LEX::check_exists in ALTER SEQUENCE
Diffstat (limited to 'sql/sql_alter.h')
-rw-r--r--sql/sql_alter.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sql/sql_alter.h b/sql/sql_alter.h
index c0232dd7358..5c898a5407c 100644
--- a/sql/sql_alter.h
+++ b/sql/sql_alter.h
@@ -387,13 +387,15 @@ public:
/**
Sql_cmd_alter_sequence represents the ALTER SEQUENCE statement.
*/
-class Sql_cmd_alter_sequence : public Sql_cmd
+class Sql_cmd_alter_sequence : public Sql_cmd,
+ public DDL_options
{
public:
/**
Constructor, used to represent a ALTER TABLE statement.
*/
- Sql_cmd_alter_sequence()
+ Sql_cmd_alter_sequence(const DDL_options &options)
+ :DDL_options(options)
{}
~Sql_cmd_alter_sequence()