Commit fea0fb2c authored by igor@rurik.mysql.com's avatar igor@rurik.mysql.com

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.
parent a5f2c752
......@@ -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)
{
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment