pt-query-digest dosn't fingerprint true/false literals correctly

Bug #965553 reported by Rob Smith
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to https://jira.percona.com/projects/PT
Fix Released
Medium
Frank Cizmich

Bug Description

Query:
INSERT INTO tbl VALUES ( 123 , false, true, 456);
Distills to
INSERT INTO tbl VALUES ( ? , false, true, ?);

I believe the true/false literals should distill into ?s

This is with pt-query-digest 2.0.4

Related branches

Revision history for this message
Baron Schwartz (baron-xaprb) wrote :

Agree -- that should be handled. I'm not sure how many cases like this there will be.

Changed in percona-toolkit:
status: New → Confirmed
importance: Undecided → Medium
Changed in percona-toolkit:
milestone: none → 2.2.5
summary: - pt-query-digest fails to distill true/false literals correctly
+ pt-query-digest dosn't fingerprint true/false literals correctly
Changed in percona-toolkit:
milestone: 2.2.5 → none
Changed in percona-toolkit:
assignee: nobody → Frank Cizmich (frank-cizmich)
milestone: none → 2.2.8
status: Confirmed → In Progress
tags: added: fingerprints
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-503

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.