diff options
author | Vicentiu Ciorbaru <cvicentiu@gmail.com> | 2014-07-13 23:57:10 +0000 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2014-07-23 14:48:12 +0200 |
commit | 64b27c734eed91e2b79701c9c53283d9411f702f (patch) | |
tree | 6f7e49f44ad916637fb214fc93df1a59bcf76553 /sql/sql_acl.h | |
parent | 43351faf2b229fb2e87331227efb2daf554647a7 (diff) | |
download | mariadb-git-64b27c734eed91e2b79701c9c53283d9411f702f.tar.gz |
Added default role implementation
Diffstat (limited to 'sql/sql_acl.h')
-rw-r--r-- | sql/sql_acl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_acl.h b/sql/sql_acl.h index 3f628b5a082..7833fb8736b 100644 --- a/sql/sql_acl.h +++ b/sql/sql_acl.h @@ -401,6 +401,9 @@ bool acl_check_proxy_grant_access (THD *thd, const char *host, const char *user, bool with_grant); int acl_setrole(THD *thd, char *rolename, ulonglong access); int acl_check_setrole(THD *thd, char *rolename, ulonglong *access); +int acl_check_set_default_role(THD *thd, const char *host, const char *user); +int acl_set_default_role(THD *thd, const char *host, const char *user, + const char *rolename); #ifndef DBUG_OFF extern ulong role_global_merges, role_db_merges, role_table_merges, |