summaryrefslogtreecommitdiff
path: root/sql/item_subselect.h
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.h
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.h')
-rw-r--r--sql/item_subselect.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h
index 26a45a14dbe..02239ad77d3 100644
--- a/sql/item_subselect.h
+++ b/sql/item_subselect.h
@@ -459,6 +459,11 @@ public:
bool is_flattenable_semijoin;
/*
+ TRUE<=>registered in the list of semijoins in outer select
+ */
+ bool is_registered_semijoin;
+
+ /*
Used to determine how this subselect item is represented in the item tree,
in case there is a need to locate it there and replace with something else.
Two options are possible: