mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-29 01:21:37 +00:00
Merge fix-pt-osc-find-new-table-bug-1195628.
This commit is contained in:
@@ -61,7 +61,7 @@ is(
|
||||
$exit_status,
|
||||
0,
|
||||
"--dry-run exit 0 (bug 1058285)"
|
||||
);
|
||||
) or diag($output);
|
||||
|
||||
unlike(
|
||||
$output,
|
||||
|
@@ -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"
|
||||
|
@@ -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.
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user