summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorVladislav Vaintroub <vvaintroub@mysql.com>2008-11-10 21:18:04 +0100
committerVladislav Vaintroub <vvaintroub@mysql.com>2008-11-10 21:18:04 +0100
commit8ec89d3b508d4e5e2336e52231746f8975cdf616 (patch)
tree1676a03210cf6c34abb055f4136d8be957dea0cb /mysys
parentc4a5ec58f10e16b357f88e68e024f9d26bf0acec (diff)
downloadmariadb-git-8ec89d3b508d4e5e2336e52231746f8975cdf616.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')
-rw-r--r--mysys/my_init.c2
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
/*