diff options
author | Sergei Golubchik <serg@mariadb.org> | 2017-07-07 19:55:31 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-07-07 22:38:15 +0200 |
commit | c65cce3698edde272b8452c1fecec3d9522cea6e (patch) | |
tree | bddc69fadd7a800aaf0cea2d7cdc3e3008db0e8a /sql/sql_delete.h | |
parent | abf95afa2a1c23f3c7aa42f44fc665450ebeeea1 (diff) | |
download | mariadb-git-c65cce3698edde272b8452c1fecec3d9522cea6e.tar.gz |
MDEV-12137 DELETE statement with the same source and target
* various cleanups (mostly cosmetic)
* remove useless tests (that were tesing the error condition)
* optimize delete_use_source test (from 6 mins to 50 seconds,
mainly by removing two huge rollbacks at the end).
Diffstat (limited to 'sql/sql_delete.h')
-rw-r--r-- | sql/sql_delete.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_delete.h b/sql/sql_delete.h index d49b0114c52..54d6cf146b5 100644 --- a/sql/sql_delete.h +++ b/sql/sql_delete.h @@ -28,7 +28,7 @@ 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 &delete_while_scanning); + bool *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); |