pt-table-sync and pt-table-checksum still use MKDEBUG instead of PTDEBUG

Bug #890646 reported by Walter Heck
This bug report is a duplicate of:  Bug #903513: MKDEBUG should be PTDEBUG. Edit Remove
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to https://jira.percona.com/projects/PT
Invalid
Medium
Unassigned

Bug Description

root@db05:~# head ./pt-table-*
==> ./pt-table-checksum <==
#!/usr/bin/env perl

# This program is part of Percona Toolkit: http://www.percona.com/software/
# See "COPYRIGHT, LICENSE, AND WARRANTY" at the end of this file for legal
# notices and disclaimers.

use strict;
use warnings FATAL => 'all';
use constant MKDEBUG => $ENV{MKDEBUG} || 0;

==> ./pt-table-sync <==
#!/usr/bin/env perl

# This program is part of Percona Toolkit: http://www.percona.com/software/
# See "COPYRIGHT, LICENSE, AND WARRANTY" at the end of this file for legal
# notices and disclaimers.

use strict;
use warnings FATAL => 'all';
use constant MKDEBUG => $ENV{MKDEBUG} || 0;

root@db05:~# ./pt-table-sync --version
pt-table-sync 1.0.1
root@db05:~# ./pt-table-checksum --version
pt-table-checksum 1.0.1

Revision history for this message
Kenny Gryp (gryp) wrote :

from the docs: The environment variable PTDEBUG enables verbose debugging output to STDERR. To enable debugging and capture all output to a file, run the tool like:

it seems that all PT tools forked from maatkit still have MKDEBUG

Changed in percona-toolkit:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → 2.0-beta3
Revision history for this message
Baron Schwartz (baron-xaprb) wrote :

Duplicate of bug 903513.

Changed in percona-toolkit:
status: Confirmed → Invalid
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.