mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fixed LP bug #794901.
Also: 1. simplified the code of the function mysql_derived_merge_for_insert. 2. moved merge of views/dt for multi-update/delete to the prepare stage. 3. the list of the references to the candidates for semi-join now is allocated in the statement memory.
This commit is contained in:
@ -135,7 +135,7 @@ bool check_view_single_update(List<Item> &fields, List<Item> *values,
|
||||
A buffer for the insert values was allocated for the merged view.
|
||||
Use it.
|
||||
*/
|
||||
//tbl->table->insert_values= view->table->insert_values;
|
||||
tbl->table->insert_values= view->table->insert_values;
|
||||
view->table= tbl->table;
|
||||
*map= tables;
|
||||
|
||||
|
Reference in New Issue
Block a user