mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-02-28 02:07:54 +08:00
PT-2418 - pt-online-schema-change 3.7.0 lost data when exe alter xxx rename column xxx
- Added instructions to skip the test if server version is less than 8.0
This commit is contained in:
@@ -21,7 +21,9 @@ my $dp = new DSNParser(opts=>$dsn_opts);
|
||||
my $sb = new Sandbox(basedir => '/tmp', DSNParser => $dp);
|
||||
my $source_dbh = $sb->get_dbh_for('source');
|
||||
|
||||
if ( !$source_dbh ) {
|
||||
if ($sandbox_version lt '8.0') {
|
||||
plan skip_all => 'This test needs MySQL 8.0+';
|
||||
} elsif ( !$source_dbh ) {
|
||||
plan skip_all => 'Cannot connect to sandbox source';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user