Fix util/checksum-test-dataset to work with MySQL 5.6: don't checksum log and stat tables.

This commit is contained in:
Daniel Nichter
2013-02-18 17:28:12 -07:00
parent 2b73157967
commit 80d9ab9de0

View File

@@ -44,7 +44,8 @@ my $dbh = DBI->connect(
# Sandbox::ok() will throw "ERROR: Tables are different on master: mysql.proc"
$dbh->do("UPDATE mysql.proc SET created='2012-06-05 00:00:00', modified='2012-06-05 00:00:00'");
my @tables_in_mysql = grep { !/^innodb_(?:table|index)_stats$/ }
my @tables_in_mysql = grep { !/^(?:innodb|slave)_/ }
grep { !/_log$/ }
@{$dbh->selectcol_arrayref('SHOW TABLES FROM mysql')};
my @tables_in_sakila = qw( actor address category city country customer
film film_actor film_category film_text inventory