summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/innodb/include/have_innodb_snappy.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/innodb/include/have_innodb_snappy.inc')
-rw-r--r--mysql-test/suite/innodb/include/have_innodb_snappy.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb/include/have_innodb_snappy.inc b/mysql-test/suite/innodb/include/have_innodb_snappy.inc
new file mode 100644
index 00000000..c4dca4c1
--- /dev/null
+++ b/mysql-test/suite/innodb/include/have_innodb_snappy.inc
@@ -0,0 +1,4 @@
+if (! `SELECT COUNT(*) FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE LOWER(variable_name) = 'innodb_have_snappy' AND variable_value = 'ON'`)
+{
+ --skip Test requires InnoDB compiled with libsnappy
+}