mariadb/mysql-test/include/have_log_bin.inc
Sven Sandberg 0642624946 BUG#38127: main.mysqlbinlog_base64 fails sporadically on pushbuild
Problem: mysqlbinlog_base64 fails because the binlog contains
traces from previous test cases.
Fix: Make have_log_bin reset the master's binlog.


mysql-test/include/have_log_bin.inc:
  Made have_log_bin reset the master logs, so that no traces of
  earlier test cases are left.
mysql-test/t/mysqlbinlog_base64.test:
  Removed debug info from previous push to this test.
2008-07-16 11:50:11 +02:00

14 lines
276 B
PHP

# ==== Purpose ====
#
# Ensure that the server is running with binlogging on and reset the
# binlog.
#
# ==== Usage ====
#
# source include/have_log_bin.inc;
-- require r/have_log_bin.require
disable_query_log;
show variables like "log_bin";
RESET MASTER;
enable_query_log;