PT-1747 pt-online-schema-change was bringing the database into a broken state (#491)

* PT-1717 Updated behavior for FKs

* Fixed rename_columns.t

* Fixed pt-244.t

* fixed drop swap test

* Fixed test for MySQL 8.0

* Updated test for MySQL 8

* Updated test for MySQL 8
This commit is contained in:
Carlos Salguero
2021-06-03 12:00:43 -03:00
committed by GitHub
parent 4dd72d96b1
commit 0b97e1f471
7 changed files with 87 additions and 92 deletions

View File

@@ -96,9 +96,15 @@ opendir(my $dh, $db_dir) || die "Can't opendir $db_dir: $!";
my @files = grep { /^t3#P#p/ } readdir($dh);
closedir $dh;
my $files_count = 4;
if ($sandbox_version ge '8.0') {
$files_count = 0;
}
is(
scalar @files,
4,
$files_count,
"PT-224 Number of files is correct",
);