summaryrefslogtreecommitdiff
path: root/sql/sql_acl.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_acl.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_acl.h')
-rw-r--r--sql/sql_acl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_acl.h b/sql/sql_acl.h
index 0893504b72d..91ae425b88b 100644
--- a/sql/sql_acl.h
+++ b/sql/sql_acl.h
@@ -251,6 +251,7 @@ void get_mqh(const char *user, const char *host, USER_CONN *uc);
bool mysql_create_user(THD *thd, List <LEX_USER> &list, bool handle_as_role);
bool mysql_drop_user(THD *thd, List <LEX_USER> &list, bool handle_as_role);
bool mysql_rename_user(THD *thd, List <LEX_USER> &list);
+int mysql_alter_user(THD *thd, List <LEX_USER> &list);
bool mysql_revoke_all(THD *thd, List <LEX_USER> &list);
void fill_effective_table_privileges(THD *thd, GRANT_INFO *grant,
const char *db, const char *table);