Comment 3 for bug 1125144

Revision history for this message
Luis Motta Campos (luismottacampos) wrote : Re: pt-query-digest wrongly parses queries with C-style comments from the slow query log

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.