Issues
LP #887688: Prepared statements crash pt-query-digest
Done
General
Escalation
General
Escalation
Description
Environment
None
Smart Checklist
Details
Assignee
UnassignedUnassignedReporter
lpjirasynclpjirasync(Deactivated)Priority
High
Details
Details
Assignee
Unassigned
UnassignedReporter
lpjirasync
lpjirasync(Deactivated)Priority
Smart Checklist
Smart Checklist
Smart Checklist
Created January 24, 2018 at 1:48 PM
Updated January 24, 2018 at 1:48 PM
Resolved January 24, 2018 at 1:48 PM
Activity
lpjirasyncJanuary 24, 2018 at 1:48 PM
**Comment from Launchpad by: Daniel Nichter on: 08-11-2011 18:31:56
The problem is in QueryReportFormatter::prepared(), so the workaround is --report-format rusage,date,hostname,files,header,profile,query_report.
**Reported in Launchpad by Daniel Nichter last update 09-01-2012 17:59:47
Prepared statements can cause pt-query-digest to crash:
Pipeline process 5 (iteration) caused an error: Use of uninitialized value in sprintf at 1.0/bin/pt-query-digest line 6922.
The pipeline caused an error: Use of uninitialized value in sprintf at 1.0/bin/pt-query-digest line 6922.
The tool does handle PS in general, but something in my sample file causes this bug in both 1.0 and 2.0.