summaryrefslogtreecommitdiff
path: root/sql/item_row.cc
diff options
context:
space:
mode:
authorunknown <sanja@montyprogram.com>2012-05-22 08:48:10 +0300
committerunknown <sanja@montyprogram.com>2012-05-22 08:48:10 +0300
commit950abd526837b8772044d521387fa6d410de5706 (patch)
treed5deadcf46de5a138088ce2f2dd407dbba094a56 /sql/item_row.cc
parent280fcf08085e43b5359ec79c0e34166e51b3ebd8 (diff)
downloadmariadb-git-950abd526837b8772044d521387fa6d410de5706.tar.gz
Fix of LP bug#992380 + revise fix_fields about missing with_subselect collection
The problem is that some fix_fields do not call Item_func::fix_fields and do not collect with subselect_information.
Diffstat (limited to 'sql/item_row.cc')
-rw-r--r--sql/item_row.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_row.cc b/sql/item_row.cc
index 4040dbff7c6..5296f866248 100644
--- a/sql/item_row.cc
+++ b/sql/item_row.cc
@@ -88,6 +88,7 @@ bool Item_row::fix_fields(THD *thd, Item **ref)
}
maybe_null|= item->maybe_null;
with_sum_func= with_sum_func || item->with_sum_func;
+ with_subselect|= item->with_subselect;
}
fixed= 1;
return FALSE;