Skip to content

Commit

Permalink
Bug #24786290: REPLICATION BREAKS AFTER BUG #74145 HAPPENS IN MASTER
Browse files Browse the repository at this point in the history
Post-push fix to stabilize the test rpl.rpl_flush_logs
on Windows.
  • Loading branch information
vpvenugo committed Aug 3, 2018
1 parent 602c387 commit 093c654
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mysql-test/suite/rpl/t/rpl_flush_logs.test
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,13 @@ file_exists $MYSQLTEST_VARDIR/mysqld.2/data/slave-relay-bin.000008;
# Make FLUSH <individual> LOGS fail by changing
# the permissions of the slow log and general log.
--let $slow_log= `SELECT @@global.slow_query_log_file`
--exec chmod 000 $slow_log
--chmod 0000 $slow_log
--replace_regex /.*File .* not found .*/File not found (Errcode: ##)/
--error 29
FLUSH SLOW LOGS;

--let $general_log= `SELECT @@global.general_log_file`
--exec chmod 000 $general_log
--chmod 0000 $general_log
--replace_regex /.*File .* not found .*/File not found (Errcode: ##)/
--error 29
FLUSH GENERAL LOGS;
Expand All @@ -182,8 +182,8 @@ FLUSH GENERAL LOGS;
--source include/show_binlog_events.inc

# Restore permissions
--exec chmod 644 $slow_log
--exec chmod 644 $general_log
--chmod 0644 $slow_log
--chmod 0644 $general_log

--source include/sync_slave_io_with_master.inc
--source include/start_slave_sql.inc
Expand Down

0 comments on commit 093c654

Please sign in to comment.