pt-query-digest doesn't parse general log with "Connect user as user"
Bug #1078838 reported by
Daniel Nichter
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Fix Released
|
High
|
Daniel Nichter |
Bug Description
12345 Connect Access denied for user 'nobody'
12345 Connect nobody@localhost as on
31519 Query BEGIN
98765 Connect payments_r@1.2.3.4 on sar
Parsing that results in the 2nd event having db => 'on' because GeneralLogParser.pm doesn't understand the "as" part of the Connect command.
Related branches
lp:~percona-toolkit-dev/percona-toolkit/fix-genlog-parser-bug-1078838
- Daniel Nichter: Approve
-
Diff: 109 lines (+61/-4)4 files modifiedbin/pt-query-digest (+2/-1)
lib/GeneralLogParser.pm (+2/-1)
t/lib/GeneralLogParser.t (+53/-2)
t/lib/samples/genlogs/genlog004.txt (+4/-0)
Changed in percona-toolkit: | |
milestone: | 2.1.7 → 2.1.8 |
Changed in percona-toolkit: | |
importance: | Critical → High |
Changed in percona-toolkit: | |
status: | In Progress → Fix Committed |
Changed in percona-toolkit: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PT-340