summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.cc
diff options
context:
space:
mode:
authorunknown <sergefp@mysql.com>2004-12-13 20:10:07 +0300
committerunknown <sergefp@mysql.com>2004-12-13 20:10:07 +0300
commit2bd5c53c18ca208c7692076b2d53d4f0284c5730 (patch)
treed267c00c924268a47f11688ca46d18ee4ad5a09c /sql/item_cmpfunc.cc
parentce8b0879ce77254c11d4dbd80c6e77083a55f713 (diff)
parent74a8fdd997ff8fd68a5364888d705a3b76c9e9ce (diff)
downloadmariadb-git-2bd5c53c18ca208c7692076b2d53d4f0284c5730.tar.gz
Merged (will need a post-merge fix)
sql/item.h: Auto merged sql/item_cmpfunc.cc: Auto merged
Diffstat (limited to 'sql/item_cmpfunc.cc')
-rw-r--r--sql/item_cmpfunc.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/item_cmpfunc.cc b/sql/item_cmpfunc.cc
index 88083878053..0b824178afd 100644
--- a/sql/item_cmpfunc.cc
+++ b/sql/item_cmpfunc.cc
@@ -2022,7 +2022,8 @@ void Item_cond::split_sum_func(THD *thd, Item **ref_pointer_array,
{
Item **ref= li.ref();
uint el= fields.elements;
- Item *new_item= new Item_ref(ref_pointer_array + el, 0, item->name);
+ Item *new_item= new Item_ref(ref_pointer_array + el, 0, item->name,
+ item);
fields.push_front(item);
ref_pointer_array[el]= item;
thd->change_item_tree(ref, new_item);