mirror of
https://github.com/MariaDB/server.git
synced 2026-05-09 16:44:29 +02:00
MDEV-8701 Crash on derived query
MDEV-8938 Server Crash on Update with joins Make unique table check after setup_fields of update because unique table can materialize table and we do not need field resolving after materialization.
This commit is contained in:
parent
df80420865
commit
c88ca2c227
5 changed files with 158 additions and 10 deletions
|
|
@ -27,6 +27,7 @@ typedef class st_select_lex_unit SELECT_LEX_UNIT;
|
|||
|
||||
bool mysql_prepare_update(THD *thd, TABLE_LIST *table_list,
|
||||
Item **conds, uint order_num, ORDER *order);
|
||||
bool check_unique_table(THD *thd, TABLE_LIST *table_list);
|
||||
int mysql_update(THD *thd,TABLE_LIST *tables,List<Item> &fields,
|
||||
List<Item> &values,COND *conds,
|
||||
uint order_num, ORDER *order, ha_rows limit,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue