Commit e8515f19 authored by Georgi Kodinov's avatar Georgi Kodinov
Browse files

merged 5.0-bugteam -> 5.1-bugteam

parents 4236c9c0 41f139bb
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2753,6 +2753,11 @@ bool Delayed_insert::handle_inserts(void)
  /* Remove all not used rows */
  while ((row=rows.get()))
  {
    if (table->s->blob_fields)
    {
      memcpy(table->record[0],row->record,table->s->reclength);
      free_delayed_insert_blobs(table);
    }
    delete row;
    thread_safe_increment(delayed_insert_errors,&LOCK_delayed_status);
    stacked_inserts--;