diff options
author | unknown <sergefp@mysql.com> | 2004-12-13 20:10:07 +0300 |
---|---|---|
committer | unknown <sergefp@mysql.com> | 2004-12-13 20:10:07 +0300 |
commit | 75a43405d40baf4578894d4e0141a744f414cabb (patch) | |
tree | d267c00c924268a47f11688ca46d18ee4ad5a09c /sql/item_cmpfunc.cc | |
parent | c9a0e4ad5d59b37cdc3de4931b513f9af2e31541 (diff) | |
parent | 6d7fe8520a938d92a6a7b0e569e8f56d926936ac (diff) | |
download | mariadb-git-75a43405d40baf4578894d4e0141a744f414cabb.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.cc | 3 |
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); |