summaryrefslogtreecommitdiff
path: root/sql/item_subselect.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-03-18 12:34:48 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2021-03-18 12:34:48 +0200
commit19052b6debc1aeb4ef6ccbc36cdc92c10cf968b6 (patch)
tree9eec011f81a7c4868283ed02b823771798fe45d4 /sql/item_subselect.h
parenteb7c5530eccb7d6782077e5562f5a471d2ccbc01 (diff)
parentc557e9540ab6058713a7c78dfa3df366ea92dd92 (diff)
downloadmariadb-git-19052b6debc1aeb4ef6ccbc36cdc92c10cf968b6.tar.gz
Merge 10.2 into 10.3
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r--sql/item_subselect.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h
index fe0d8678752..df8250787a5 100644
--- a/sql/item_subselect.h
+++ b/sql/item_subselect.h
@@ -48,7 +48,11 @@ class Cached_item;
class Item_subselect :public Item_result_field,
protected Used_tables_and_const_cache
{
- bool value_assigned; /* value already assigned to subselect */
+ /*
+ Set to TRUE if the value is assigned for the subselect
+ FALSE: subquery not executed or the subquery returns an empty result
+ */
+ bool value_assigned;
bool own_engine; /* the engine was not taken from other Item_subselect */
protected:
/* thread handler, will be assigned in fix_fields only */