summaryrefslogtreecommitdiffstats
path: root/mysql-test/include/have_blackhole.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/include/have_blackhole.inc')
-rw-r--r--mysql-test/include/have_blackhole.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/include/have_blackhole.inc b/mysql-test/include/have_blackhole.inc
new file mode 100644
index 00000000..146f5afb
--- /dev/null
+++ b/mysql-test/include/have_blackhole.inc
@@ -0,0 +1,5 @@
+if (!`SELECT count(*) FROM information_schema.engines WHERE
+ (support = 'YES' OR support = 'DEFAULT') AND
+ engine = 'blackhole'`){
+ skip Need blackhole engine;
+}