pt-query-digest doesn't parse general log with "Connect user as user"

Bug #1078838 reported by Daniel Nichter
6
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'@'localhost' (using password: NO)
  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

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
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-340

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.