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

Bug #821709 reported by Daniel Nichter
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to https://jira.percona.com/projects/PT
Fix Released
Low
Daniel Nichter

Bug Description

Imported from http://code.google.com/p/maatkit/issues/detail?id=1086

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 code.google.com was mine... for your convenience I ported it over to

lp:~jamie-mccarthy/percona-toolkit/devel

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: https://jira.percona.com/browse/PT-749

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

Other bug subscribers