diff options
author | Vladislav Vaintroub <vvaintroub@mysql.com> | 2008-11-10 21:18:04 +0100 |
---|---|---|
committer | Vladislav Vaintroub <vvaintroub@mysql.com> | 2008-11-10 21:18:04 +0100 |
commit | 60d5e900891bc849d7a6180b708290fe7a3e93ab (patch) | |
tree | 1676a03210cf6c34abb055f4136d8be957dea0cb /mysys/my_init.c | |
parent | ff5662df687f24341d921d3e12b5d42dcbb61f7e (diff) | |
download | mariadb-git-60d5e900891bc849d7a6180b708290fe7a3e93ab.tar.gz |
Bug#36279 - mysql built with Visual Studio 2005 does not display
japanese characters.
Fix - removed obsolvete setlocale from my_init.c . In MBCS
environments it caused unwanted character-to-byte translations
in fputc() in client code and wrong output as result.
Diffstat (limited to 'mysys/my_init.c')
-rw-r--r-- | mysys/my_init.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mysys/my_init.c b/mysys/my_init.c index 8154a5fce51..07469e48e6c 100644 --- a/mysys/my_init.c +++ b/mysys/my_init.c @@ -305,8 +305,6 @@ static void my_win_init(void) const char *targetKey = "Software\\MySQL" ; DBUG_ENTER("my_win_init"); - setlocale(LC_CTYPE, ""); /* To get right sortorder */ - #if defined(_MSC_VER) #if _MSC_VER < 1300 /* |