summaryrefslogtreecommitdiff
path: root/sql/sql_delete.h
diff options
context:
space:
mode:
authorhalfspawn <j.brauge@qualiac.com>2017-07-07 17:50:09 +0200
committerSergei Golubchik <serg@mariadb.org>2017-07-07 22:38:15 +0200
commitabf95afa2a1c23f3c7aa42f44fc665450ebeeea1 (patch)
tree103be88238fab60dd5e84f0d7729f14f3a0f47b4 /sql/sql_delete.h
parent30fee6150a7b3afc0b7d371aac1a9eb7e3de554f (diff)
downloadmariadb-git-abf95afa2a1c23f3c7aa42f44fc665450ebeeea1.tar.gz
MDEV-12137 DELETE statement with the same source and target
single-table deletes only
Diffstat (limited to 'sql/sql_delete.h')
-rw-r--r--sql/sql_delete.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_delete.h b/sql/sql_delete.h
index 9cd09dc5722..d49b0114c52 100644
--- a/sql/sql_delete.h
+++ b/sql/sql_delete.h
@@ -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);