LP #1078838: pt-query-digest doesn't parse general log with "Connect user as user"

Description

**Reported in Launchpad by Daniel Nichter last update 14-01-2013 22:16:05

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.

Environment

None

Smart Checklist

Activity

Done

Details

Assignee

Reporter

Priority

Smart Checklist

Created January 24, 2018 at 2:16 PM
Updated January 24, 2018 at 2:17 PM
Resolved January 24, 2018 at 2:17 PM