summaryrefslogtreecommitdiffstats
path: root/mysql-test/include/have_debug_sync.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/include/have_debug_sync.inc')
-rw-r--r--mysql-test/include/have_debug_sync.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/include/have_debug_sync.inc b/mysql-test/include/have_debug_sync.inc
new file mode 100644
index 00000000..dbe6dfdd
--- /dev/null
+++ b/mysql-test/include/have_debug_sync.inc
@@ -0,0 +1,4 @@
+if (`select count(*) = 0 from information_schema.session_variables where variable_name = 'debug_sync' and variable_value like 'on %'`)
+{
+ skip debug_sync is not available;
+}