summaryrefslogtreecommitdiff
path: root/sql/sql_cmd.h
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <vicentiu@mariadb.org>2016-01-17 17:00:19 +0200
committerVicențiu Ciorbaru <cvicentiu@gmail.com>2016-03-08 16:55:17 +0200
commit90b717b3cd3e33572df8cbce3df8b70cc3925b81 (patch)
tree62c33fd973b709f12a540e42c45406c37094323a /sql/sql_cmd.h
parent6066ede444645d7130adb5cc97b6f8c3a56497de (diff)
downloadmariadb-git-90b717b3cd3e33572df8cbce3df8b70cc3925b81.tar.gz
[MDEV-7978] Update grammar for new syntax
Extend the syntax accepted by the grammar to account for the new create user and alter user syntax.
Diffstat (limited to 'sql/sql_cmd.h')
-rw-r--r--sql/sql_cmd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_cmd.h b/sql/sql_cmd.h
index 904578134b4..5553090bb8c 100644
--- a/sql/sql_cmd.h
+++ b/sql/sql_cmd.h
@@ -93,6 +93,7 @@ enum enum_sql_command {
SQLCOM_CREATE_ROLE, SQLCOM_DROP_ROLE, SQLCOM_GRANT_ROLE, SQLCOM_REVOKE_ROLE,
SQLCOM_COMPOUND,
SQLCOM_SHOW_GENERIC,
+ SQLCOM_ALTER_USER,
/*
When a command is added here, be sure it's also added in mysqld.cc