summaryrefslogtreecommitdiffstats
path: root/mysql-test/include/have_rocksdb.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/include/have_rocksdb.inc')
-rw-r--r--mysql-test/include/have_rocksdb.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/include/have_rocksdb.inc b/mysql-test/include/have_rocksdb.inc
new file mode 100644
index 00000000..bc6ec648
--- /dev/null
+++ b/mysql-test/include/have_rocksdb.inc
@@ -0,0 +1,4 @@
+if (`SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.ENGINES WHERE engine = 'ROCKSDB' AND support IN ('YES', 'DEFAULT', 'ENABLED')`)
+{
+ --skip Test requires MyRocks engine
+}