Commit c9d3b27d authored by Alexander Barkov's avatar Alexander Barkov

Using more Item_string_sys

parent 58eb51d1
......@@ -238,9 +238,7 @@ class set_var :public set_var_base
if (value_arg && value_arg->type() == Item::FIELD_ITEM)
{
Item_field *item= (Item_field*) value_arg;
if (!(value=new Item_string(item->field_name,
(uint) strlen(item->field_name),
system_charset_info))) // names are utf8
if (!(value=new Item_string_sys(item->field_name))) // names are utf8
value=value_arg; /* Give error message later */
}
else
......
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