summaryrefslogtreecommitdiff
path: root/mysql-test/include/have_cassandra.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/include/have_cassandra.inc')
-rw-r--r--mysql-test/include/have_cassandra.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/include/have_cassandra.inc b/mysql-test/include/have_cassandra.inc
new file mode 100644
index 00000000000..d358e2ecc26
--- /dev/null
+++ b/mysql-test/include/have_cassandra.inc
@@ -0,0 +1,10 @@
+#
+# suite.pm will make sure that all tests including this file
+# will be skipped unless innodb or xtradb is enabled
+#
+# The test below is redundant
+
+if (`SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.ENGINES WHERE engine = 'cassandra' AND support IN ('YES', 'DEFAULT', 'ENABLED')`)
+{
+ --skip Test requires Cassandra.
+}