mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-28 08:51:44 +00:00
Fix a bazillion tests with ANSI sql_mode, and get rid of a bunch of MySQLDump usage.
This commit is contained in:
@@ -59,10 +59,10 @@ is(
|
||||
"Empty --review table"
|
||||
);
|
||||
|
||||
$dbh->do('insert into test.query_review values
|
||||
(1, "select * from tbl where id=? order by col",
|
||||
"select * from tbl where id=42 order by col",
|
||||
NOW(), NOW(), NULL, NULL, NULL)');
|
||||
$dbh->do("insert into test.query_review values
|
||||
(1, 'select * from tbl where id=? order by col',
|
||||
'select * from tbl where id=42 order by col',
|
||||
NOW(), NOW(), NULL, NULL, NULL)");
|
||||
|
||||
ok(
|
||||
no_diff(
|
||||
@@ -72,10 +72,10 @@ ok(
|
||||
"--review with one bad query"
|
||||
);
|
||||
|
||||
$dbh->do('insert into test.query_review values
|
||||
(2, "select col from tbl2 where id=? order by col limit ?",
|
||||
"select col from tbl2 where id=52 order by col limit 10",
|
||||
NOW(), NOW(), NULL, NULL, NULL)');
|
||||
$dbh->do("insert into test.query_review values
|
||||
(2, 'select col from tbl2 where id=? order by col limit ?',
|
||||
'select col from tbl2 where id=52 order by col limit 10',
|
||||
NOW(), NOW(), NULL, NULL, NULL)");
|
||||
|
||||
ok(
|
||||
no_diff(
|
||||
|
Reference in New Issue
Block a user