summaryrefslogtreecommitdiff
path: root/mysys/charset.c
diff options
context:
space:
mode:
authorunknown <bar@bar.udmsearch.izhnet.ru>2002-07-31 17:34:27 +0500
committerunknown <bar@bar.udmsearch.izhnet.ru>2002-07-31 17:34:27 +0500
commitb4a63d5137d8580676d9c76d367a173d94d6a0fd (patch)
tree3ce01cfd95b462452b8faf6a8ac9f988d307a23b /mysys/charset.c
parent5d61c21aa9716544df6fce044ec27d8ce771c9d9 (diff)
downloadmariadb-git-b4a63d5137d8580676d9c76d367a173d94d6a0fd.tar.gz
Move operation to logically better place
Diffstat (limited to 'mysys/charset.c')
-rw-r--r--mysys/charset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/charset.c b/mysys/charset.c
index c1a61ad693f..691a4233269 100644
--- a/mysys/charset.c
+++ b/mysys/charset.c
@@ -335,7 +335,6 @@ static my_bool read_charset_file(const char *cs_name, CHARSET_INFO *set,
result=TRUE;
my_fclose(fb.f, MYF(0));
- create_fromuni(set);
DBUG_RETURN(result);
}
@@ -384,6 +383,7 @@ static CHARSET_INFO *add_charset(uint cs_number, myf flags)
cs->wc_mb = my_wc_mb_8bit;
set_max_sort_char(cs);
+ create_fromuni(cs);
return cs;
}