Replace MKDEBUG with PTDEBUG in modules.

This commit is contained in:
Daniel Nichter
2012-01-19 12:46:56 -07:00
parent 97f42e9c07
commit 88304e69fb
83 changed files with 1234 additions and 1234 deletions

View File

@@ -25,7 +25,7 @@ package CompareQueryTimes;
use strict;
use warnings FATAL => 'all';
use English qw(-no_match_vars);
use constant MKDEBUG => $ENV{MKDEBUG} || 0;
use constant PTDEBUG => $ENV{PTDEBUG} || 0;
Transformers->import(qw(micro_t));
use POSIX qw(floor);
@@ -96,11 +96,11 @@ sub execute {
my ($event, $dbh) = @args{@required_args};
if ( exists $event->{Query_time} ) {
MKDEBUG && _d('Query already executed');
PTDEBUG && _d('Query already executed');
return $event;
}
MKDEBUG && _d('Executing query');
PTDEBUG && _d('Executing query');
my $query = $event->{arg};
my ( $start, $end, $query_time );