Change MKDEBUG to PTDEBUG. Remove 1.0.2 from release notes.

This commit is contained in:
Daniel Nichter
2011-12-30 09:23:41 -07:00
parent 547cbfd348
commit d1bd7a9f3b
44 changed files with 5083 additions and 5111 deletions

View File

@@ -122,13 +122,13 @@ is_deeply(
'Synced OK with Nibble'
);
# Save original MKDEBUG env because we modify it below.
my $dbg = $ENV{MKDEBUG};
# Save original PTDEBUG env because we modify it below.
my $dbg = $ENV{PTDEBUG};
$sb->load_file('master', 't/pt-table-sync/samples/before.sql');
$ENV{MKDEBUG} = 1;
$ENV{PTDEBUG} = 1;
$output = run_cmd('test1', 'test2', '--algorithms Nibble --no-bin-log --chunk-size 1 --transaction --lock 1');
delete $ENV{MKDEBUG};
delete $ENV{PTDEBUG};
like(
$output,
qr/Executing statement on source/,
@@ -141,9 +141,9 @@ is_deeply(
);
# Sync tables that have values with leading zeroes
$ENV{MKDEBUG} = 1;
$ENV{PTDEBUG} = 1;
$output = run('test3', 'test4', '--print --no-bin-log --verbose --function MD5');
delete $ENV{MKDEBUG};
delete $ENV{PTDEBUG};
like(
$output,
qr/UPDATE `test`.`test4`.*51707/,
@@ -165,8 +165,8 @@ $output = run('test3', 'test4', '--algorithms Nibble --chunk-size 1k --print --v
# If it lived, it's OK.
ok($output, 'Synced with Nibble and data-size chunksize');
# Restore MKDEBUG env.
$ENV{MKDEBUG} = $dbg || 0;
# Restore PTDEBUG env.
$ENV{PTDEBUG} = $dbg || 0;
# #############################################################################