Browse Source

Bug#19027 MySQL 5.0 starts even with Fatal InnoDB errors

Fix bug in mtr_cases.pm script visible only when InnoDB isn't configured.

mysql-test/lib/mtr_cases.pm:
  If InnoDB isn't configured the help texts won't show the "innodb" option and mysqld_variables will not contain any "innodb" entry.
pull/374/head
Kristofer Pettersson 17 years ago
parent
commit
baeac87623
  1. 3
      mysql-test/lib/mtr_cases.pm

3
mysql-test/lib/mtr_cases.pm

@ -887,7 +887,8 @@ sub collect_one_test_case {
if ( $tinfo->{'innodb_test'} )
{
# This is a test that need innodb
if ( $::mysqld_variables{'innodb'} eq "OFF" )
if ( $::mysqld_variables{'innodb'} eq "OFF" ||
! exists $::mysqld_variables{'innodb'} )
{
# innodb is not supported, skip it
$tinfo->{'skip'}= 1;

Loading…
Cancel
Save