1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

MWL#205 DELETE with result set (mdev-3814)

Includes all post-review fixes as well.
This commit is contained in:
Igor Babaev
2013-08-06 13:31:38 -07:00
parent 807fef40ff
commit 86d62605e8
9 changed files with 487 additions and 16 deletions

View File

@ -21,12 +21,15 @@
class THD;
struct TABLE_LIST;
class Item;
class select_result;
typedef class Item COND;
template <typename T> class SQL_I_List;
int mysql_prepare_delete(THD *thd, TABLE_LIST *table_list, Item **conds);
int mysql_prepare_delete(THD *thd, TABLE_LIST *table_list,
uint wild_num, List<Item> &field_list, Item **conds);
bool mysql_delete(THD *thd, TABLE_LIST *table_list, COND *conds,
SQL_I_List<ORDER> *order, ha_rows rows, ulonglong options);
SQL_I_List<ORDER> *order, ha_rows rows,
ulonglong options, select_result *result);
#endif /* SQL_DELETE_INCLUDED */