Commit 2457ca1c authored by unknown's avatar unknown
Browse files

I had forgotten to delete an already disabled line of C++ code.


sql/sql_insert.cc:
  I had forgotten to delete this line (it was already disabled using //;
  this line was not needed because we do the empty() every time
  we write to the binlog (in MYSQL_LOG::write());
  t/binlog_stm_binlog.test already tests that the empty() indeed happens
  for INSERT DELAYED.
parent 9cb377f9
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2086,8 +2086,6 @@ bool delayed_insert::handle_inserts(void)

    thd.start_time=row->start_time;
    thd.query_start_used=row->query_start_used;
    /* for the binlog, forget auto_increment ids generated by previous rows */
//    thd.auto_inc_intervals_in_cur_stmt_for_binlog.empty();
    thd.first_successful_insert_id_in_prev_stmt= 
      row->first_successful_insert_id_in_prev_stmt;
    thd.stmt_depends_on_first_successful_insert_id_in_prev_stmt=