pt-table-sync and pt-table-checksum still use MKDEBUG instead of PTDEBUG
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://
# 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://
# 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
Changed in percona-toolkit: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
milestone: | none → 2.0-beta3 |
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