1
0
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:
Igor Babaev
2011-07-16 23:57:43 -07:00
parent 6e5413853e
commit d37465a9cc
13 changed files with 153 additions and 136 deletions

View File

@ -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;