mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-10-18 16:40:23 +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 ) {
|
if ( !$dbh ) {
|
||||||
plan skip_all => 'Cannot connect to sandbox master';
|
plan skip_all => 'Cannot connect to sandbox master';
|
||||||
}
|
} elsif ($sandbox_version lt '5.7') {
|
||||||
else {
|
plan skip_all => "Generated columns are only available in MySQL 5.7+";
|
||||||
|
} else {
|
||||||
plan tests => 3;
|
plan tests => 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user