summaryrefslogtreecommitdiff
path: root/mysql-test/t/flush2.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/flush2.test')
-rw-r--r--mysql-test/t/flush2.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/t/flush2.test b/mysql-test/t/flush2.test
new file mode 100644
index 00000000000..fc9e88e3141
--- /dev/null
+++ b/mysql-test/t/flush2.test
@@ -0,0 +1,9 @@
+#
+# Bug#17733 Flushing logs causes daily server crash
+#
+flush logs;
+set global expire_logs_days = 3;
+show variables like 'log%';
+flush logs;
+show variables like 'log%';
+set global expire_logs_days = 0;