summaryrefslogtreecommitdiff
path: root/mysql-test/include/not_wsrep.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/include/not_wsrep.inc')
-rw-r--r--mysql-test/include/not_wsrep.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/include/not_wsrep.inc b/mysql-test/include/not_wsrep.inc
new file mode 100644
index 00000000000..3314b5c8717
--- /dev/null
+++ b/mysql-test/include/not_wsrep.inc
@@ -0,0 +1,7 @@
+# To be used in a test which should be skipped if server is compiled with wsrep
+# support (-DWITH_WSREP=ON) and wsrep plugin is ACTIVE.
+
+-- require r/not_wsrep.require
+disable_query_log;
+SELECT VERSION() LIKE '%wsrep%' AS 'HAVE_WSREP';
+enable_query_log;