summaryrefslogtreecommitdiff
path: root/mysql-test/include/have_innodb.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/include/have_innodb.inc')
-rw-r--r--mysql-test/include/have_innodb.inc7
1 files changed, 3 insertions, 4 deletions
diff --git a/mysql-test/include/have_innodb.inc b/mysql-test/include/have_innodb.inc
index c3c8b5cc4f2..fa3e586834c 100644
--- a/mysql-test/include/have_innodb.inc
+++ b/mysql-test/include/have_innodb.inc
@@ -1,5 +1,4 @@
-if (!`SELECT count(*) FROM information_schema.engines WHERE
- (support = 'YES' OR support = 'DEFAULT') AND
- engine = 'innodb'`){
- skip Needs innodb engine;
+if (`SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.ENGINES WHERE engine = 'innodb' AND support IN ('YES', 'DEFAULT', 'ENABLED')`)
+{
+ --skip Test requires InnoDB.
}