1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

call ha_release_temporary_latches to fix bug 32149

This commit is contained in:
Mikael Ronstrom
2008-12-04 16:03:02 +01:00
parent 7661629cf7
commit 7ceb6050ee
3 changed files with 13 additions and 0 deletions

View File

@@ -3065,6 +3065,9 @@ bool select_insert::send_data(List<Item> &values)
DBUG_RETURN(1);
}
}
// Release latches in case bulk insert takes a long time
ha_release_temporary_latches(thd);
error= write_record(thd, table, &info);
table->auto_increment_field_not_null= FALSE;