Commit 328d6f42 authored by unknown's avatar unknown

This now correctly substitutes charset to new table:

CREATE TABLE a SELECT strfunc(non_default_charset_expr)

parent 1ff701ee
......@@ -41,9 +41,9 @@ public:
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