summaryrefslogtreecommitdiffstats
path: root/mysql-test/include/have_wsrep_provider.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/include/have_wsrep_provider.inc')
-rw-r--r--mysql-test/include/have_wsrep_provider.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/include/have_wsrep_provider.inc b/mysql-test/include/have_wsrep_provider.inc
new file mode 100644
index 00000000..818abdd4
--- /dev/null
+++ b/mysql-test/include/have_wsrep_provider.inc
@@ -0,0 +1,6 @@
+if (`SELECT COUNT(*)=0 FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE
+ VARIABLE_NAME LIKE 'wsrep_provider' AND VARIABLE_VALUE NOT LIKE 'none'`)
+{
+ --skip Test requires wsrep provider library (libgalera_smm.so)
+}
+