summaryrefslogtreecommitdiffstats
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.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/include/have_archive.inc b/mysql-test/include/have_archive.inc
new file mode 100644
index 00000000..0fd85fa5
--- /dev/null
+++ b/mysql-test/include/have_archive.inc
@@ -0,0 +1,5 @@
+if (!`SELECT count(*) FROM information_schema.engines WHERE
+ (support = 'YES' OR support = 'DEFAULT') AND
+ engine = 'archive'`){
+ skip Need archive engine;
+}