Commit ce6d7367 authored by guilhem@mysql.com's avatar guilhem@mysql.com

A fix for a random test failure rpl_trunc_binlog: don't RESET MASTER

while the slave is connected.
parent 2cd7ef6a
...@@ -22,5 +22,3 @@ start slave; ...@@ -22,5 +22,3 @@ start slave;
sleep 3; sleep 3;
--replace_result $MASTER_MYPORT MASTER_PORT --replace_result $MASTER_MYPORT MASTER_PORT
show slave status; show slave status;
connection master;
reset master;
...@@ -1337,7 +1337,7 @@ file '%s', errno %d)", fname, my_errno); ...@@ -1337,7 +1337,7 @@ file '%s', errno %d)", fname, my_errno);
if (init_relay_log_pos(rli,NullS,BIN_LOG_HEADER_SIZE,0 /* no data lock */, if (init_relay_log_pos(rli,NullS,BIN_LOG_HEADER_SIZE,0 /* no data lock */,
&msg)) &msg))
{ {
sql_print_error("Failed to open the relay log 'FIRST' (relay_log_pos 4"); sql_print_error("Failed to open the relay log 'FIRST' (relay_log_pos 4)");
goto err; goto err;
} }
rli->master_log_name[0]= 0; rli->master_log_name[0]= 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment