pt-show-grants --revoke and --separate don't work together

Bug #821709 reported by Daniel Nichter
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to
Fix Released
Daniel Nichter

Bug Description

Imported from

Quoting original which also has a patch:

Example output:

GRANT UPDATE ON `mysql`.* TO 'foo'@'%';
REVOKE GRANT UPDATE ON `mysql`.* TO 'foo'@'%' ON `mysql`.* FROM 'foo'@'%';

Should be

REVOKE UPDATE ON `mysql`.* FROM 'foo'@'%';

Related branches

Revision history for this message
Jamie McCarthy (jamie-mccarthy) wrote :

The patch over on was mine... for your convenience I ported it over to


and I just confirmed with a fresh install that it fixes this bug.

Revision history for this message
Daniel Nichter (daniel-nichter) wrote :

Thanks for the patch. Your branch has been merged.

Changed in percona-toolkit:
assignee: nobody → Daniel Nichter (daniel-nichter)
milestone: none → 2.0.3
status: New → Fix Committed
Changed in percona-toolkit:
status: Fix Committed → Fix Released
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to:

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers