From 7ec24435b324c27412a94cbd71b707c9fd06b8ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vicen=C8=9Biu=20Ciorbaru?= Date: Thu, 17 Oct 2013 15:11:13 -0700 Subject: Added acl_setrole function. The function enables/disables role privileges to the current user via the current security_context --- sql/sql_acl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sql/sql_acl.h') 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 */ -- cgit v1.2.1