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

Bug #1041391 reported by Matthew B on 2012-08-24
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to
Fix Released
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

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) on 2012-11-01
Changed in percona-toolkit:
assignee: nobody → Brian Fraser (fraserbn)
importance: Undecided → Low
status: Confirmed → In Progress
Brian Fraser (fraserbn) on 2012-11-09
Changed in percona-toolkit:
milestone: none → 2.1.7
Brian Fraser (fraserbn) on 2012-11-16
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

Percona now uses JIRA for bug reports so this bug report is migrated to:

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers