Commit 4a071b48 authored by bar@mysql.com's avatar bar@mysql.com

item_strfunc.cc:

  After merge change.
  4.1 method was replaced in 5.0.
parent 1b50f35a
...@@ -1570,7 +1570,7 @@ Item *Item_func_sysconst::safe_charset_converter(CHARSET_INFO *tocs) ...@@ -1570,7 +1570,7 @@ Item *Item_func_sysconst::safe_charset_converter(CHARSET_INFO *tocs)
return NULL; return NULL;
} }
conv->str_value.copy(); conv->str_value.copy();
conv->str_value.shrink_to_length(); conv->str_value.mark_as_const();
return conv; return conv;
} }
......
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