Commit 6bdacbbb authored by unknown's avatar unknown

Bug#6469 - REVOKE ALL synonymy bug

parent 8edf7903
...@@ -5612,7 +5612,7 @@ revoke_command: ...@@ -5612,7 +5612,7 @@ revoke_command:
grant_privileges ON opt_table FROM user_list 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; Lex->sql_command = SQLCOM_REVOKE_ALL;
} }
...@@ -5638,8 +5638,12 @@ grant: ...@@ -5638,8 +5638,12 @@ grant:
grant_privileges: grant_privileges:
grant_privilege_list {} grant_privilege_list {}
| ALL PRIVILEGES { Lex->grant = GLOBAL_ACLS;} | ALL opt_privileges { Lex->grant = GLOBAL_ACLS;}
| ALL { Lex->grant = GLOBAL_ACLS;} ;
opt_privileges:
/* empty */
| PRIVILEGES
; ;
grant_privilege_list: grant_privilege_list:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment