diff --git a/sql/log_event.cc b/sql/log_event.cc index 31ee950dbe4..a226d5a2317 100644 --- a/sql/log_event.cc +++ b/sql/log_event.cc @@ -5508,7 +5508,6 @@ int Intvar_log_event::do_apply_event(Relay_log_info const *rli) switch (type) { case LAST_INSERT_ID_EVENT: - thd->stmt_depends_on_first_successful_insert_id_in_prev_stmt= 1; thd->first_successful_insert_id_in_prev_stmt= val; break; case INSERT_ID_EVENT: