Skip innodb test if mysqld doesn't have innodb support

parent de932f2a
...@@ -554,6 +554,18 @@ sub collect_one_test_case($$$$$$$) { ...@@ -554,6 +554,18 @@ sub collect_one_test_case($$$$$$$) {
} }
} }
if ( $tinfo->{'innodb_test'} )
{
# This is a test that need inndob
if ( $::mysqld_variables{'innodb'} eq "FALSE" )
{
# innodb is not supported, skip it
$tinfo->{'skip'}= 1;
$tinfo->{'comment'}= "No innodb support";
return;
}
}
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment