Fix a number of SQL queries to work with ANSI_QUOTES

This commit is contained in:
Baron Schwartz
2012-06-06 23:14:20 -04:00
parent 46fdc4be4e
commit b9304dabb5
17 changed files with 51 additions and 46 deletions

View File

@@ -24,7 +24,7 @@ my $dbh = $sb->get_dbh_for('slave1');
if ( !$dbh ) {
plan skip_all => 'Cannot connect to MySQL slave.';
}
elsif ( !@{$dbh->selectcol_arrayref('SHOW DATABASES LIKE "sakila"')} ) {
elsif ( !@{$dbh->selectcol_arrayref("SHOW DATABASES LIKE 'sakila'")} ) {
plan skip_all => 'sakila db not loaded';
}
else {