Commit 3c026690 authored by Georgi Kodinov's avatar Georgi Kodinov

merged 5.0-bugteam -> 5.1-bugteam

parents fee8a478 d501f487
...@@ -2753,6 +2753,11 @@ bool Delayed_insert::handle_inserts(void) ...@@ -2753,6 +2753,11 @@ bool Delayed_insert::handle_inserts(void)
/* Remove all not used rows */ /* Remove all not used rows */
while ((row=rows.get())) 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; delete row;
thread_safe_increment(delayed_insert_errors,&LOCK_delayed_status); thread_safe_increment(delayed_insert_errors,&LOCK_delayed_status);
stacked_inserts--; stacked_inserts--;
......
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