summaryrefslogtreecommitdiff
path: root/sql/sql_acl.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-10-18 15:52:26 -0700
committerSergei Golubchik <sergii@pisem.net>2013-10-18 15:52:26 -0700
commitf74b9eca6ebe83367fd742f6f537814dcdd6cc2f (patch)
tree0f411f14c6e73ca4720966e73e94e9d22a460d70 /sql/sql_acl.h
parent4ec26a7c2dbb2a49fbedf14f0ca7d126703916ae (diff)
downloadmariadb-git-f74b9eca6ebe83367fd742f6f537814dcdd6cc2f.tar.gz
remove ER_RESERVED_ROLE.
Only allow NONE instead of a role name in SET ROLE. Don't allow PUBLIC as a role name anywhere (to be fixed later) Fix db_access calculations on SET ROLE Reduce the size of role_grants and parent_grantee per-user/role arrays. Fix the wording and specify the correct sqlstate for ER_INVALID_ROLE
Diffstat (limited to 'sql/sql_acl.h')
-rw-r--r--sql/sql_acl.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/sql_acl.h b/sql/sql_acl.h
index 8766f78ecee..1b09b4bbdd4 100644
--- a/sql/sql_acl.h
+++ b/sql/sql_acl.h
@@ -174,7 +174,6 @@ extern const TABLE_FIELD_DEF mysql_db_table_def;
extern bool mysql_user_table_is_in_short_password_format;
extern LEX_STRING host_not_specified;
-extern LEX_STRING none_role;
extern LEX_STRING current_user;
extern LEX_STRING current_role;
extern LEX_STRING current_user_and_current_role;