summaryrefslogtreecommitdiff
path: root/mysql-test/include/have_archive.inc
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2010-08-25 22:22:33 +0200
committerSergei Golubchik <sergii@pisem.net>2010-08-25 22:22:33 +0200
commit9bc9855c16f815e71223398ef17cd6052becc44e (patch)
tree89f63ff036ddfcf76bcdc342ec71e0129ba42c89 /mysql-test/include/have_archive.inc
parent1aa3b02c51f00c142fb89c809e6228d6f99288d9 (diff)
downloadmariadb-git-9bc9855c16f815e71223398ef17cd6052becc44e.tar.gz
mtr changes:
* expanding unknown env variable does not abort mtr * have_archive, blackhole, innodb - preload the corresponding engine * all options from .opt files get equal treatment, all are searched for special options, not only -{master,slave}.opt as before (which ignored suite.opt and --mysqld=...) * --plugin-load gets special treatment too - all instances are merged into one * federated test fixed to preload federated
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;
+}