summaryrefslogtreecommitdiffstats
path: root/mysql-test/include/have_log_bin.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/include/have_log_bin.inc')
-rw-r--r--mysql-test/include/have_log_bin.inc14
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/include/have_log_bin.inc b/mysql-test/include/have_log_bin.inc
new file mode 100644
index 00000000..eb2529da
--- /dev/null
+++ b/mysql-test/include/have_log_bin.inc
@@ -0,0 +1,14 @@
+# ==== Purpose ====
+#
+# Ensure that the server is running with binlogging on
+#
+# ==== Usage ====
+#
+# source include/have_log_bin.inc;
+
+source include/not_embedded.inc;
+
+-- require include/have_log_bin.require
+disable_query_log;
+show variables like 'log_bin';
+enable_query_log;