summaryrefslogtreecommitdiff
path: root/sql/item_row.cc
diff options
context:
space:
mode:
authorunknown <igor@rurik.mysql.com>2004-02-19 01:09:54 -0800
committerunknown <igor@rurik.mysql.com>2004-02-19 01:09:54 -0800
commitf4353d48ccc39527540daf709a1167462b39738c (patch)
treeaa627335f475f099e0d352b39af4e24d6e1ac189 /sql/item_row.cc
parentc88e5213d4f8acbbba33d293a9573042818f0aec (diff)
parent9ce4695da0bfe74e840dcf708da10cac9740e137 (diff)
downloadmariadb-git-f4353d48ccc39527540daf709a1167462b39738c.tar.gz
Manual merge
mysql-test/r/func_test.result: Auto merged mysql-test/r/subselect.result: Auto merged mysql-test/r/user_var.result: Auto merged sql/item_cmpfunc.cc: Auto merged sql/item_cmpfunc.h: Auto merged sql/item_func.cc: Auto merged sql/item_func.h: Auto merged sql/item_row.cc: Auto merged sql/item_row.h: Auto merged sql/item_strfunc.h: Auto merged sql/sql_list.h: Auto merged sql/sql_select.h: Auto merged
Diffstat (limited to 'sql/item_row.cc')
-rw-r--r--sql/item_row.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_row.cc b/sql/item_row.cc
index 7a457c9db7a..f4be3226364 100644
--- a/sql/item_row.cc
+++ b/sql/item_row.cc
@@ -91,7 +91,7 @@ void Item_row::split_sum_func(Item **ref_pointer_array, List<Item> &fields)
uint el= fields.elements;
fields.push_front(*arg);
ref_pointer_array[el]= *arg;
- *arg= new Item_ref(ref_pointer_array + el, 0, (*arg)->name);
+ *arg= new Item_ref(ref_pointer_array + el, arg, 0, (*arg)->name);
}
}
}