Commit 6300a019 authored by bell@sanja.is.com.ua's avatar bell@sanja.is.com.ua

added comment

parent 6457b899
...@@ -1795,6 +1795,7 @@ Item_func_group_concat::fix_fields(THD *thd, TABLE_LIST *tables, Item **ref) ...@@ -1795,6 +1795,7 @@ Item_func_group_concat::fix_fields(THD *thd, TABLE_LIST *tables, Item **ref)
*/ */
for (i= 0 ; i < arg_count_order ; i++) for (i= 0 ; i < arg_count_order ; i++)
{ {
// order_item->item can be changed by fix_fields() call
ORDER *order_item= order[i]; ORDER *order_item= order[i];
if ((*order_item->item)->fix_fields(thd, tables, order_item->item) || if ((*order_item->item)->fix_fields(thd, tables, order_item->item) ||
(*order_item->item)->check_cols(1)) (*order_item->item)->check_cols(1))
......
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