Fix diff_where() for lower oob chunks. Add PT_TEST_NO_TRACE to remove /* trace messages */ from queries for testing, and remove trace messages from the sample output.

This commit is contained in:
Daniel Nichter
2013-01-23 10:15:08 -07:00
parent dbf2ac477e
commit 7f7eaa2b10
4 changed files with 75 additions and 59 deletions

View File

@@ -4,6 +4,10 @@ BEGIN {
die "The PERCONA_TOOLKIT_BRANCH environment variable is not set.\n"
unless $ENV{PERCONA_TOOLKIT_BRANCH} && -d $ENV{PERCONA_TOOLKIT_BRANCH};
unshift @INC, "$ENV{PERCONA_TOOLKIT_BRANCH}/lib";
# Don't add /* trace */ messages to --print queries becuase they
# contain non-determinstic info like user, etc.
$ENV{PT_TEST_NO_TRACE} = 1;
};
use strict;