mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
merge 5.1 => 5.5
This commit is contained in:
commit
3b9185793d
1 changed files with 1 additions and 1 deletions
|
@ -9994,7 +9994,7 @@ static Field *create_tmp_field_from_item(THD *thd, Item *item, TABLE *table,
|
|||
if (new_field)
|
||||
new_field->init(table);
|
||||
|
||||
if (copy_func && item->is_result_field())
|
||||
if (copy_func && item->real_item()->is_result_field())
|
||||
*((*copy_func)++) = item; // Save for copy_funcs
|
||||
if (modify_item)
|
||||
item->set_result_field(new_field);
|
||||
|
|
Loading…
Add table
Reference in a new issue