diff options
author | Igor Babaev <igor@askmonty.org> | 2013-08-06 13:31:38 -0700 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2013-08-06 13:31:38 -0700 |
commit | 86d62605e88d0bee2c4b1970ae8320c11af078d6 (patch) | |
tree | aa1c68294c338c283fe917437550924a687d3594 /sql/sql_delete.h | |
parent | 807fef40fffbbb8e92564a52b902b504ba8cfcdc (diff) | |
download | mariadb-git-86d62605e88d0bee2c4b1970ae8320c11af078d6.tar.gz |
MWL#205 DELETE with result set (mdev-3814)
Includes all post-review fixes as well.
Diffstat (limited to 'sql/sql_delete.h')
-rw-r--r-- | sql/sql_delete.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sql/sql_delete.h b/sql/sql_delete.h index 6147e0ea367..9cd09dc5722 100644 --- a/sql/sql_delete.h +++ b/sql/sql_delete.h @@ -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 */ |