diff options
author | unknown <msvensson@neptunus.(none)> | 2006-10-25 16:50:06 +0200 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2006-10-25 16:50:06 +0200 |
commit | 5decebc5f3aa6fc2584f6fcbd81ab7e42b63ede5 (patch) | |
tree | 3dc32e74ca87286bb753fdfa0188dd179bec1da3 /mysql-test/lib | |
parent | 7596e12bbe6cb936f06e7d8893d2bad7276b70cb (diff) | |
download | mariadb-git-5decebc5f3aa6fc2584f6fcbd81ab7e42b63ede5.tar.gz |
Skip innodb test if mysqld doesn't have innodb support
Diffstat (limited to 'mysql-test/lib')
-rw-r--r-- | mysql-test/lib/mtr_cases.pl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/lib/mtr_cases.pl b/mysql-test/lib/mtr_cases.pl index 17019cfd351..d270d72d526 100644 --- a/mysql-test/lib/mtr_cases.pl +++ b/mysql-test/lib/mtr_cases.pl @@ -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; + } + } + } } |