pt-table-checksum debug statement for "Chosen hash func" prints undef

Bug #1041391 reported by Matthew B
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to https://jira.percona.com/projects/PT
Fix Released
Low
Brian Fraser

Bug Description

Line 3972:

PTDEBUG && _d('Chosen hash func:', $result);

When debug is enabled, this prints:

# RowChecksum:3972 24839 Chosen hash func: undef

regardless of what you have set the function to.

Related branches

Revision history for this message
Matthew B (utdrmac) wrote :

The value of $result is never set to anything after eval { } of if function exists within MySQL

tags: added: pt-table-checksum pt-table-sync pt-upgrade wrong-output
Changed in percona-toolkit:
status: New → Confirmed
Brian Fraser (fraserbn)
Changed in percona-toolkit:
assignee: nobody → Brian Fraser (fraserbn)
importance: Undecided → Low
status: Confirmed → In Progress
Brian Fraser (fraserbn)
Changed in percona-toolkit:
milestone: none → 2.1.7
Brian Fraser (fraserbn)
Changed in percona-toolkit:
status: In Progress → Fix Committed
Changed in percona-toolkit:
milestone: 2.1.7 → 2.1.8
summary: - Debug statement for Chosen hash func prints undef
+ pt-table-checksum debug statement for "Chosen hash func" prints undef
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-784

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.