Skip innodb test if mysqld doesn't have innodb support

This commit is contained in:
unknown 2006-10-25 16:50:06 +02:00
parent 7596e12bbe
commit 5decebc5f3

View file

@ -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;
}
}
}
}