mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 05:00:45 +00:00
PT-572 Removed dbug info
This commit is contained in:
@@ -79,17 +79,20 @@ is(
|
||||
"Character set is correct",
|
||||
);
|
||||
|
||||
# 3
|
||||
$output = `$trunk/bin/pt-table-sync --execute --lock-and-rename h=127.1,P=12345,u=msandbox,p=msandbox,D=test,t=t1 t=t2 2>&1`;
|
||||
$output = `/tmp/12345/use -e 'show create table test.t2'`;
|
||||
like($output, qr/COMMENT='test1'/, '--lock-and-rename worked');
|
||||
|
||||
$row = $slave1_dbh->selectrow_hashref("SELECT f2 FROM test.t2 WHERE id = 1");
|
||||
is(
|
||||
$row->{f2},
|
||||
$want,
|
||||
"Character set is correct",
|
||||
);
|
||||
SKIP {
|
||||
skip "Skipping in MySQL 8.0.4-rc since there is an error in the server itself", 1 if ($sandbox_version ge '8.0');
|
||||
# 3
|
||||
$output = `$trunk/bin/pt-table-sync --execute --lock-and-rename h=127.1,P=12345,u=msandbox,p=msandbox,D=test,t=t1 t=t2 2>&1`;
|
||||
$output = `/tmp/12345/use -e 'show create table test.t2'`;
|
||||
like($output, qr/COMMENT='test1'/, '--lock-and-rename worked');
|
||||
|
||||
$row = $slave1_dbh->selectrow_hashref("SELECT f2 FROM test.t2 WHERE id = 1");
|
||||
is(
|
||||
$row->{f2},
|
||||
$want,
|
||||
"Character set is correct",
|
||||
);
|
||||
}
|
||||
# #############################################################################
|
||||
# Done.
|
||||
# #############################################################################
|
||||
|
Reference in New Issue
Block a user