mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
This now correctly substitutes charset to new table:
CREATE TABLE a SELECT strfunc(non_default_charset_expr)
This commit is contained in:
@@ -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());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user