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_class.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sql/sql_class.h') diff --git a/sql/sql_class.h b/sql/sql_class.h index 053ac98c453..64de6a63ded 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -1041,6 +1041,8 @@ public: char proxy_user[USERNAME_LENGTH + MAX_HOSTNAME + 5]; /* The host privilege we are using */ char priv_host[MAX_HOSTNAME]; + /* The role privilege we are using */ + char priv_role[USERNAME_LENGTH]; /* The external user (if available) */ char *external_user; /* points to host if host is available, otherwise points to ip */ -- cgit v1.2.1