--- sql/slave.cc 2009-12-14 16:32:22 +0000 +++ sql/slave.cc 2010-03-19 01:19:00 +0000 @@ -4143,7 +4143,6 @@ waiting for the following event) reset whenever EOF is reached. */ - time_t save_timestamp= rli->last_master_timestamp; rli->last_master_timestamp= 0; DBUG_ASSERT(rli->relay_log.get_open_count() == @@ -4213,7 +4212,7 @@ rli->relay_log.wait_for_update(rli->sql_thd, 1); // re-acquire data lock since we released it earlier pthread_mutex_lock(&rli->data_lock); - rli->last_master_timestamp= save_timestamp; + rli->last_master_timestamp= time(0); continue; } /*