1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

DATABASE character set is never blank anymore

This commit is contained in:
bar@bar.mysql.r18.ru
2003-02-21 18:24:41 +04:00
parent 7d24a79271
commit 7f21fb31b2
3 changed files with 10 additions and 10 deletions

View File

@ -461,9 +461,7 @@ 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? thd->db_charset :
default_charset_info;
create_info->table_charset : thd->db_charset;
switch (sql_field->sql_type) {
case FIELD_TYPE_BLOB: