mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-25 13:46:22 +00:00
Fix a bazillion tests with ANSI sql_mode, and get rid of a bunch of MySQLDump usage.
This commit is contained in:
@@ -56,7 +56,7 @@ ok(
|
||||
);
|
||||
|
||||
# Normalish output from EXPLAIN.
|
||||
$dbh->do('insert into trees values ("apple"),("orange"),("banana")');
|
||||
$dbh->do("insert into trees values ('apple'),('orange'),('banana')");
|
||||
|
||||
ok(
|
||||
no_diff(
|
||||
|
@@ -52,10 +52,10 @@ $cmd = "${run_with}slow006.txt --create-review-table --review "
|
||||
$output = `$cmd >/dev/null 2>&1`;
|
||||
|
||||
my ($table) = $dbh->selectrow_array(
|
||||
'show tables from test like "query_review"');
|
||||
"show tables from test like 'query_review'");
|
||||
is($table, 'query_review', '--create-review');
|
||||
($table) = $dbh->selectrow_array(
|
||||
'show tables from test like "query_review_history"');
|
||||
"show tables from test like 'query_review_history'");
|
||||
is($table, 'query_review_history', '--create-review-history-table');
|
||||
|
||||
$output = 'foo'; # clear previous test results
|
||||
|
Reference in New Issue
Block a user