Commit 4dcedba7 authored by unknown's avatar unknown

This now correctly substitutes charset to new table:

CREATE TABLE a SELECT strfunc(non_default_charset_expr)
parent 4c10c5ed
......@@ -41,9 +41,9 @@ class Item_str_func :public Item_func
return result_field;
return (max_length > 255) ?
(Field *)new Field_blob(max_length,maybe_null, name,t_arg, binary,
default_charset_info) :
str_value.charset()) :
(Field *) new Field_string(max_length,maybe_null, name,t_arg, binary,
default_charset_info);
str_value.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