PT-1559 pt-osc --alter-foreign-keys-method=drop_swap doesn't work with MySQL 8.0+

This commit is contained in:
Carlos Salguero
2018-06-13 16:46:40 -03:00
parent f95d448e03
commit f5fd795fda
4 changed files with 46 additions and 3 deletions

View File

@@ -23,8 +23,9 @@ my $dbh = $sb->get_dbh_for('master');
if ( !$dbh ) {
plan skip_all => "Cannot connect to sandbox master";
}
else {
} elsif ($sandbox_version ge '8.0') {
plan skip_all => "There is no NO_AUTO_CREATE_USER in MySQL 8.0+";
} else {
plan tests => 4;
}