summaryrefslogtreecommitdiff
path: root/sql/item_subselect.cc
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2011-07-16 23:57:43 -0700
committerIgor Babaev <igor@askmonty.org>2011-07-16 23:57:43 -0700
commitd37465a9cc458ab215105de22875ce0a64c0efc2 (patch)
tree2fc2c3e0ee8a246b65001039b7651a2f38091608 /sql/item_subselect.cc
parent6e5413853e9788b7e86808c8765983f8724122d8 (diff)
downloadmariadb-git-d37465a9cc458ab215105de22875ce0a64c0efc2.tar.gz
Fixed LP bug #794901.
Also: 1. simplified the code of the function mysql_derived_merge_for_insert. 2. moved merge of views/dt for multi-update/delete to the prepare stage. 3. the list of the references to the candidates for semi-join now is allocated in the statement memory.
Diffstat (limited to 'sql/item_subselect.cc')
-rw-r--r--sql/item_subselect.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/item_subselect.cc b/sql/item_subselect.cc
index f7c778dbdbf..8679a4f9a0d 100644
--- a/sql/item_subselect.cc
+++ b/sql/item_subselect.cc
@@ -1146,7 +1146,8 @@ Item_in_subselect::Item_in_subselect(Item * left_exp,
st_select_lex *select_lex):
Item_exists_subselect(), left_expr_cache(0), first_execution(TRUE),
optimizer(0), pushed_cond_guards(NULL), in_strategy(0),
- is_jtbm_merged(FALSE), is_flattenable_semijoin(FALSE),
+ is_jtbm_merged(FALSE), is_flattenable_semijoin(FALSE),
+ is_registered_semijoin(FALSE),
upper_item(0)
{
DBUG_ENTER("Item_in_subselect::Item_in_subselect");