Commit aed2e289 authored by unknown's avatar unknown

item_strfunc.cc:

  Charset conversion function changes coercibility to IMPLICIT


sql/item_strfunc.cc:
  Charset conversion function changes coercibility to IMPLICIT
parent d8eec237
...@@ -2079,6 +2079,7 @@ String *Item_func_conv_charset::val_str(String *str) ...@@ -2079,6 +2079,7 @@ String *Item_func_conv_charset::val_str(String *str)
void Item_func_conv_charset::fix_length_and_dec() void Item_func_conv_charset::fix_length_and_dec()
{ {
max_length = args[0]->max_length*conv_charset->mbmaxlen; max_length = args[0]->max_length*conv_charset->mbmaxlen;
coercibility= COER_IMPLICIT;
set_charset(conv_charset); set_charset(conv_charset);
} }
......
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