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 https://jira.percona.com/projects/PT |
Fix Released
|
Low
|
Daniel Nichter |
Bug Description
Imported from http://
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
lp:~jamie-mccarthy/percona-toolkit/devel
- Daniel Nichter: Approve
-
Diff: 12 lines (+1/-1)1 file modifiedbin/pt-show-grants (+1/-1)
Changed in percona-toolkit: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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.