mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/alexi/bugs/mysql-5.0-merge sql/sql_insert.cc: Auto merged
This commit is contained in:
@ -321,7 +321,7 @@ bool mysql_insert(THD *thd,TABLE_LIST *table_list,
|
||||
if (!table_list->derived && !table_list->view)
|
||||
table_list->updatable= 1; // usual table
|
||||
}
|
||||
else
|
||||
else if (thd->net.last_errno != ER_WRONG_OBJECT)
|
||||
{
|
||||
/* Too many delayed insert threads; Use a normal insert */
|
||||
table_list->lock_type= lock_type= TL_WRITE;
|
||||
|
Reference in New Issue
Block a user