mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-11 01:01:36 +08:00
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:
@@ -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",
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user