Merge fix-pt-osc-find-new-table-bug-1195628.

This commit is contained in:
Daniel Nichter
2013-12-10 20:47:29 -08:00
5 changed files with 63 additions and 13 deletions

View File

@@ -61,7 +61,7 @@ is(
$exit_status,
0,
"--dry-run exit 0 (bug 1058285)"
);
) or diag($output);
unlike(
$output,

View File

@@ -13,6 +13,7 @@ use Test::More;
use Time::HiRes qw(sleep);
$ENV{PTTEST_FAKE_TS} = 1;
$ENV{PERCONA_TOOLKIT_TEST_USE_DSN_NAMES} = 1;
use PerconaTest;
use Sandbox;
@@ -704,7 +705,8 @@ ok(
no_diff(
sub { pt_online_schema_change::main(@args, "$dsn,D=bug_1045317,t=bits",
'--execute', '--statistics',
'--alter', "modify column val ENUM('M','E','H') NOT NULL")
'--alter', "modify column val ENUM('M','E','H') NOT NULL",
'--recursion-method', 'none')
},
($sandbox_version ge '5.5' && $db_flavor !~ m/XtraDB Cluster/
? "$sample/stats-execute-5.5.txt"

View File

@@ -56,10 +56,10 @@ $sb->load_file('master', "$sample/basic_no_fks.sql");
my @create = split("\n\n", $output);
like(
$create[1],
$create[1] || '',
qr/DEFAULT CHARSET=utf8/,
"Can alter charset of new table"
);
) or diag($output);
# #############################################################################
# Done.

View File

@@ -1,3 +1,5 @@
No slaves found. See --recursion-method if host h=127.1,P=12345 has slaves.
Not checking slave lag because no slaves were found and --check-slave-lag was not specified.
Operation, tries, wait:
copy_rows, 10, 0.25
create_triggers, 10, 1