Commit 029b5c2a authored by unknown's avatar unknown

Merge gbichot@213.136.52.20:/home/bk/mysql-4.1

into mysql.com:/home/mysql_src/mysql-4.1

parents d2aa1ab3 9b194438
......@@ -327,8 +327,12 @@ int Log_event::exec_event(struct st_relay_log_info* rli)
{
rli->inc_group_relay_log_pos(get_event_len(),log_pos);
flush_relay_log_info(rli);
/* if this is a fake rotate, don't record the timestamp */
rli->last_master_timestamp= (when) ? when : 0;
/*
Note that Rotate_log_event::exec_event() does not call this function,
so there is no chance that a fake rotate event resets
last_master_timestamp.
*/
rli->last_master_timestamp= when;
}
}
return 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