mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
character_set_server is now updatable
character_set_database was added Code optimization: reuse more code for all character sets variables
This commit is contained in:
@ -481,7 +481,8 @@ int mysql_create_table(THD *thd,const char *db, const char *table_name,
|
||||
{
|
||||
if (!sql_field->charset)
|
||||
sql_field->charset = create_info->table_charset ?
|
||||
create_info->table_charset : thd->db_charset;
|
||||
create_info->table_charset :
|
||||
thd->variables.character_set_database;
|
||||
|
||||
switch (sql_field->sql_type) {
|
||||
case FIELD_TYPE_BLOB:
|
||||
|
Reference in New Issue
Block a user