pt-query-digest parses C-style comments incorrectly
Bug #1125144 reported by
Luis Motta Campos
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Triaged
|
Medium
|
Unassigned |
Bug Description
This reports concerns pt-query-digest 2.1.1.
This is the command line I'm using: 'pt-query-digest --report slow.log'
The version of the server producing the slow query log: 5.1.56-rel12.7-log ((Percona Server (GPL), 12.7, Revision 237))
Changed in percona-toolkit: | |
milestone: | none → 2.2.5 |
importance: | Undecided → Medium |
Changed in percona-toolkit: | |
milestone: | 2.2.5 → none |
To post a comment you must log in.
Sorry, there's no way to edit a bug description and I've pressed the submit button too early.
The issue here is that pt-query-digest should ignore certain types of C-style comments before attempting to analyse the query for table and schema names, as this might cause issues with whatever is in the comment.
The comment in this query was automatically generated by Java Hibernate framework, and contains the SQL operation being attempted and the caller method's full-qualified class name, java-style.