Fixed bug #12095: a join query with GROUP_CONCAT over a single row table.

If GROUP_CONCAT is calculated we always put its argument into a temp
table, even when the argument is a constant item.
This commit is contained in:
igor@rurik.mysql.com 2005-07-31 02:32:33 -07:00
parent a5f2c7528c
commit fea0fb2c8b

View File

@ -1986,6 +1986,7 @@ bool Item_func_group_concat::setup(THD *thd)
}
count_field_types(tmp_table_param,all_fields,0);
tmp_table_param->need_const= 1;
if (table)
{
/*