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:
parent
a5f2c7528c
commit
fea0fb2c8b
@ -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)
|
||||
{
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user