summaryrefslogtreecommitdiff
path: root/mysql-test/t/flush2.test
diff options
context:
space:
mode:
authorNirbhay Choubey <nirbhay@mariadb.com>2015-06-05 11:43:05 -0400
committerNirbhay Choubey <nirbhay@mariadb.com>2015-06-05 11:43:05 -0400
commit5255dafe2cc8ceb32cafd24a0b2de24332b24c98 (patch)
tree3aaeb668875a85281b72fa7503eaaa4cb6b6598c /mysql-test/t/flush2.test
parentf7002c05ae4e4a09bc6859ccc568064cfd6bb268 (diff)
downloadmariadb-git-bb-10.1-mdev7110.tar.gz
MDEV-7110 : Add missing MySQL variable log_bin_basename and log_bin_indexbb-10.1-mdev7110
Add log_bin_index, log_bin_basename and relay_log_basename system variables. Also, convert relay_log_index system variable to NO_CMD_LINE and implement --relay-log-index as a command line option.
Diffstat (limited to 'mysql-test/t/flush2.test')
-rw-r--r--mysql-test/t/flush2.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/t/flush2.test b/mysql-test/t/flush2.test
index 7582ab8426b..496b57ccea4 100644
--- a/mysql-test/t/flush2.test
+++ b/mysql-test/t/flush2.test
@@ -1,9 +1,16 @@
#
# Bug#17733 Flushing logs causes daily server crash
#
+
+--source include/not_embedded.inc
+
flush logs;
set global expire_logs_days = 3;
show variables like 'log_bin%';
+--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
+show variables like 'relay_log%';
flush logs;
show variables like 'log_bin%';
+--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
+show variables like 'relay_log%';
set global expire_logs_days = 0;