1
0
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:
bar@gw.udmsearch.izhnet.ru
2002-06-26 16:41:51 +05:00
parent 337d46966c
commit f683fe6890

View File

@@ -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());
}
};