From f954a69dd4a562cf5c4f4cb57c44ea5271e5abb7 Mon Sep 17 00:00:00 2001 From: Carlos Salguero Date: Sat, 16 Dec 2017 11:58:49 -0300 Subject: [PATCH] PT-207 Fixed test for generated fields. (added mysql version constraint) --- t/pt-table-checksum/pt-225.t | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/t/pt-table-checksum/pt-225.t b/t/pt-table-checksum/pt-225.t index f869189d..b968fcbf 100644 --- a/t/pt-table-checksum/pt-225.t +++ b/t/pt-table-checksum/pt-225.t @@ -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; }