mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
Bug#6469 - REVOKE ALL synonymy bug
This commit is contained in:
parent
fdc79aa30a
commit
c2e3f7cf86
1 changed files with 7 additions and 3 deletions
|
@ -5612,7 +5612,7 @@ revoke_command:
|
|||
grant_privileges ON opt_table FROM user_list
|
||||
{}
|
||||
|
|
||||
ALL PRIVILEGES ',' GRANT OPTION FROM user_list
|
||||
ALL opt_privileges ',' GRANT OPTION FROM user_list
|
||||
{
|
||||
Lex->sql_command = SQLCOM_REVOKE_ALL;
|
||||
}
|
||||
|
@ -5638,10 +5638,14 @@ grant:
|
|||
|
||||
grant_privileges:
|
||||
grant_privilege_list {}
|
||||
| ALL PRIVILEGES { Lex->grant = GLOBAL_ACLS;}
|
||||
| ALL { Lex->grant = GLOBAL_ACLS;}
|
||||
| ALL opt_privileges { Lex->grant = GLOBAL_ACLS;}
|
||||
;
|
||||
|
||||
opt_privileges:
|
||||
/* empty */
|
||||
| PRIVILEGES
|
||||
;
|
||||
|
||||
grant_privilege_list:
|
||||
grant_privilege
|
||||
| grant_privilege_list ',' grant_privilege;
|
||||
|
|
Loading…
Reference in a new issue