Bug #6469 REVOKE ALL synonymy bug
Submitted: 5 Nov 2004 18:58 Modified: 11 Nov 2004 21:03
Reporter: Paul DuBois Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:4.1.x,5.0.x OS:
Assigned to: Antony Curtis CPU Architecture:Any

[5 Nov 2004 18:58] Paul DuBois
Description:
In GRANT and REVOKE statements, ALL and ALL PRIVILEGES
should be synonymous.  However, this statement works:

REVOKE ALL PRIVILEGES, GRANT OPTION FROM 'user';

and this statement does not:

REVOKE ALL, GRANT OPTION FROM 'user';

How to repeat:
GRANT ALL ON *.* TO 'nosuchuser'@'localhost' WITH GRANT OPTION;
REVOKE ALL, GRANT OPTION FROM 'nosuchuser'@'localhost';
-- this will fail
REVOKE ALL PRIVILEGES, GRANT OPTION FROM 'nosuchuser'@'localhost';
-- this will succeed
[11 Nov 2004 21:03] Antony Curtis
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html