Commit c2e3f7cf authored by unknown's avatar unknown
Browse files

Bug#6469 - REVOKE ALL synonymy bug

parent fdc79aa3
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -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,8 +5638,12 @@ 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: