mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Merge rurik.mysql.com:/home/igor/dev/mysql-4.1-0
into rurik.mysql.com:/home/igor/dev/mysql-5.0-0 mysql-test/r/group_by.result: Auto merged sql/item.h: Auto merged sql/item_buff.cc: Auto merged sql/sql_select.cc: Auto merged
This commit is contained in:
@@ -12281,7 +12281,7 @@ alloc_group_fields(JOIN *join,ORDER *group)
|
||||
{
|
||||
for (; group ; group=group->next)
|
||||
{
|
||||
Item_buff *tmp=new_Item_buff(*group->item);
|
||||
Item_buff *tmp=new_Item_buff(join->thd, *group->item);
|
||||
if (!tmp || join->group_fields.push_front(tmp))
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user