Commit e4a0b794 authored by unknown's avatar unknown
Browse files

Merge pcgem.rdg.cyberkinetica.com:/mnt/staff/repositories/mysql-4.1

into pcgem.rdg.cyberkinetica.com:/usr/home/acurtis/work/bug6469


sql/sql_yacc.yy:
  Auto merged
parents 6b1450d9 c2e3f7cf
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -5627,7 +5627,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;
	}
@@ -5653,8 +5653,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: