pt-table-checksum debug statement for "Chosen hash func" prints undef
Bug #1041391 reported by
Matthew B
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
lp:~percona-toolkit-dev/percona-toolkit/fix-1041391-rowchecker-wrong-debug-statement
- Brian Fraser (community): Approve
-
Diff: 43 lines (+4/-4)2 files modifiedbin/pt-table-checksum (+2/-2)
lib/RowChecksum.pm (+2/-2)
tags: | added: pt-table-checksum pt-table-sync pt-upgrade wrong-output |
Changed in percona-toolkit: | |
status: | New → Confirmed |
Changed in percona-toolkit: | |
assignee: | nobody → Brian Fraser (fraserbn) |
importance: | Undecided → Low |
status: | Confirmed → In Progress |
Changed in percona-toolkit: | |
milestone: | none → 2.1.7 |
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 |
To post a comment you must log in.
The value of $result is never set to anything after eval { } of if function exists within MySQL