Bug#6469 - REVOKE ALL synonymy bug

This commit is contained in:
unknown 2004-11-10 18:53:16 +00:00
parent fdc79aa30a
commit c2e3f7cf86

View file

@ -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;