1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Move operation to logically better place

This commit is contained in:
unknown
2002-07-31 17:34:27 +05:00
parent 5d61c21aa9
commit b4a63d5137

View File

@@ -335,7 +335,6 @@ static my_bool read_charset_file(const char *cs_name, CHARSET_INFO *set,
result=TRUE; result=TRUE;
my_fclose(fb.f, MYF(0)); my_fclose(fb.f, MYF(0));
create_fromuni(set);
DBUG_RETURN(result); DBUG_RETURN(result);
} }
@@ -384,6 +383,7 @@ static CHARSET_INFO *add_charset(uint cs_number, myf flags)
cs->wc_mb = my_wc_mb_8bit; cs->wc_mb = my_wc_mb_8bit;
set_max_sort_char(cs); set_max_sort_char(cs);
create_fromuni(cs);
return cs; return cs;
} }