diff options
author | Vicențiu Ciorbaru <cvicentiu@gmail.com> | 2013-10-17 15:11:13 -0700 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-10-17 15:11:13 -0700 |
commit | 7ec24435b324c27412a94cbd71b707c9fd06b8ed (patch) | |
tree | 297877af8d356478acdedd739af31151a5ec6dfa /sql/sql_class.h | |
parent | 6680bb14a40c917e24e09a67894d9c7fd5065be0 (diff) | |
download | mariadb-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_class.h')
-rw-r--r-- | sql/sql_class.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |