mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-12137 DELETE statement with the same source and target
single-table deletes only
This commit is contained in:
committed by
Sergei Golubchik
parent
30fee6150a
commit
abf95afa2a
@ -27,7 +27,8 @@ typedef class Item COND;
|
||||
template <typename T> class SQL_I_List;
|
||||
|
||||
int mysql_prepare_delete(THD *thd, TABLE_LIST *table_list,
|
||||
uint wild_num, List<Item> &field_list, Item **conds);
|
||||
uint wild_num, List<Item> &field_list, Item **conds,
|
||||
uint &delete_while_scanning);
|
||||
bool mysql_delete(THD *thd, TABLE_LIST *table_list, COND *conds,
|
||||
SQL_I_List<ORDER> *order, ha_rows rows,
|
||||
ulonglong options, select_result *result);
|
||||
|
Reference in New Issue
Block a user