Fix a bazillion tests with ANSI sql_mode, and get rid of a bunch of MySQLDump usage.

This commit is contained in:
Baron Schwartz
2012-06-09 14:43:33 -04:00
parent 8e9dfeec68
commit 47fb3d65e8
54 changed files with 3583 additions and 2357 deletions

View File

@@ -65,7 +65,7 @@ like(
my $ddl = $master_dbh->selectrow_arrayref("show create table pt_osc.t");
like(
$ddl->[1],
qr/^\s+`id`/m,
qr/^\s+["`]id["`]/m,
"Did not alter the table"
);
@@ -196,7 +196,7 @@ sub test_alter_table {
is(
$orig_auto_inc,
$new_auto_inc,
"$name AUTO_INCREMENT=$orig_auto_inc"
"$name AUTO_INCREMENT=" . ($orig_auto_inc || '<unknown>')
) or $fail = 1;
# Check if the ALTER was actually done.