summaryrefslogtreecommitdiff
path: root/sql/sql_acl.h
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <cvicentiu@gmail.com>2013-10-17 15:11:13 -0700
committerSergei Golubchik <sergii@pisem.net>2013-10-17 15:11:13 -0700
commit7ec24435b324c27412a94cbd71b707c9fd06b8ed (patch)
tree297877af8d356478acdedd739af31151a5ec6dfa /sql/sql_acl.h
parent6680bb14a40c917e24e09a67894d9c7fd5065be0 (diff)
downloadmariadb-git-7ec24435b324c27412a94cbd71b707c9fd06b8ed.tar.gz
Added acl_setrole function. The function enables/disables role privileges to
the current user via the current security_context
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 b45b70ad069..abc5e8ac25c 100644
--- a/sql/sql_acl.h
+++ b/sql/sql_acl.h
@@ -382,4 +382,5 @@ get_cached_table_access(GRANT_INTERNAL_INFO *grant_internal_info,
bool acl_check_proxy_grant_access (THD *thd, const char *host, const char *user,
bool with_grant);
+bool acl_setrole(THD *thd, char *rolename);
#endif /* SQL_ACL_INCLUDED */