diff options
author | Vicențiu Ciorbaru <cvicentiu@gmail.com> | 2013-10-18 09:25:42 -0700 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-10-18 09:25:42 -0700 |
commit | 60f19cbc9aa425ab5606383f81829d54643f4fd8 (patch) | |
tree | 6e282a31f81d4ec33e68fb8bb9a198068ade4f31 /sql/sql_acl.h | |
parent | df48f63684e3439eae7f4fdf77c995ed7112d792 (diff) | |
download | mariadb-git-60f19cbc9aa425ab5606383f81829d54643f4fd8.tar.gz |
Added GRANT ROLE TO ... and REVOKE ROLE FROM ... functionality.
TODO:
Privilege checks are not done upon executing the command.
Diffstat (limited to 'sql/sql_acl.h')
-rw-r--r-- | sql/sql_acl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_acl.h b/sql/sql_acl.h index 506a1fe4d40..91add84a066 100644 --- a/sql/sql_acl.h +++ b/sql/sql_acl.h @@ -204,7 +204,7 @@ int check_change_password(THD *thd, const char *host, const char *user, bool change_password(THD *thd, const char *host, const char *user, char *password); -bool mysql_grant_role(THD *thd, List<LEX_USER> &user_list); +bool mysql_grant_role(THD *thd, List<LEX_USER> &user_list, bool revoke); bool mysql_grant(THD *thd, const char *db, List <LEX_USER> &user_list, ulong rights, bool revoke, bool is_proxy); int mysql_table_grant(THD *thd, TABLE_LIST *table, List <LEX_USER> &user_list, |