pt-table-checksum: Enabling PTDEBUG to debug a bug causes 'uninitialised value'

Bug #1579107 reported by Kenny Gryp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to https://jira.percona.com/projects/PT
New
Undecided
Frank Cizmich

Bug Description

```05-05T22:26:42 Error checksumming table db.tablename: Use of uninitialized value in join or string at /usr/bin/pt-table-checksum line 6727.
```

small debugging erorr in pt-t-c
if the boundaries are `undef` (NULL) running with PTDEBUG fails because it tries to print an undef variable ^^.
You get this when you are using a nullable (non unique in this case) index with NULL values in there.

the same happens for:
```05-05T22:20:20 Error checksumming table db.tablename: Use of uninitialized value in string ne at /usr/bin/pt-table-checksum line 6768.
```

This is with version 2.2.17

Changed in percona-toolkit:
assignee: nobody → Frank Cizmich (frank-cizmich)
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-1343

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.