summaryrefslogtreecommitdiff
path: root/sql/item_subselect.h
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2016-08-26 16:09:22 -0700
committerIgor Babaev <igor@askmonty.org>2016-08-26 16:09:22 -0700
commitc8f85bf263a81a625089507d747236852ec87024 (patch)
treee6d45e1d4a436994dfa9c5c84dd8a4d8b514bd5d /sql/item_subselect.h
parentf33c35240de0e2a1d33da80a081e1c8c7d941378 (diff)
downloadmariadb-git-c8f85bf263a81a625089507d747236852ec87024.tar.gz
mdev-9864: cleanup, re-factoring.
Added comments.
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 c1e68247220..e72f75726ed 100644
--- a/sql/item_subselect.h
+++ b/sql/item_subselect.h
@@ -128,6 +128,11 @@ public:
/* TRUE <=> The underlying SELECT is correlated w.r.t some ancestor select */
bool is_correlated;
+ /*
+ TRUE <=> the subquery contains a recursive reference in the FROM list
+ of one of its selects. In this case some of subquery optimization
+ strategies cannot be applied for the subquery;
+ */
bool with_recursive_reference;
enum subs_type {UNKNOWN_SUBS, SINGLEROW_SUBS,