mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-10-18 00:14:12 +00:00
PT-207 Fixed test for generated fields. (added mysql version constraint)
This commit is contained in:
@@ -22,8 +22,9 @@ my $dbh = $sb->get_dbh_for('master');
|
||||
|
||||
if ( !$dbh ) {
|
||||
plan skip_all => 'Cannot connect to sandbox master';
|
||||
}
|
||||
else {
|
||||
} elsif ($sandbox_version lt '5.7') {
|
||||
plan skip_all => "Generated columns are only available in MySQL 5.7+";
|
||||
} else {
|
||||
plan tests => 3;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user