Bug #27583 slave sql fails to read from iocache when slave got stopped at pos==4

forgotten merge with 5.0. There can be some bugs waiting for this fix in 5.0 like Bug@29232
parent 721c3ea5
......@@ -3397,6 +3397,8 @@ int Rotate_log_event::exec_event(struct st_relay_log_info* rli)
memcpy(rli->group_master_log_name, new_log_ident, ident_len+1);
rli->notify_group_master_log_name_update();
rli->group_master_log_pos= pos;
strmake(rli->group_relay_log_name, rli->event_relay_log_name,
sizeof(rli->group_relay_log_name) - 1);
rli->group_relay_log_pos= rli->event_relay_log_pos;
DBUG_PRINT("info", ("group_master_log_name: '%s' group_master_log_pos:\
%lu",
......
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