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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user