summaryrefslogtreecommitdiff
path: root/mysql-test/include/have_archive.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/include/have_archive.inc')
-rw-r--r--mysql-test/include/have_archive.inc9
1 files changed, 5 insertions, 4 deletions
diff --git a/mysql-test/include/have_archive.inc b/mysql-test/include/have_archive.inc
index 82399ca4c6c..0fd85fa576f 100644
--- a/mysql-test/include/have_archive.inc
+++ b/mysql-test/include/have_archive.inc
@@ -1,4 +1,5 @@
---disable_query_log
---require r/true.require
-select (support = 'YES' or support = 'DEFAULT') as `TRUE` from information_schema.engines where engine = 'archive';
---enable_query_log
+if (!`SELECT count(*) FROM information_schema.engines WHERE
+ (support = 'YES' OR support = 'DEFAULT') AND
+ engine = 'archive'`){
+ skip Need archive engine;
+}