MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:vvaintroub Date:April 26 2008 2:19am
Subject:bk commit into 5.1 tree (vvaintroub:1.2573) BUG#36279
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of vvaintroub.  When vvaintroub does a push these changes
will be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2008-04-26 02:19:18+02:00, vvaintroub@wva. +1 -0
  Bug#36279 - mysql built with Visual Studio 2005 does not display 
  japanese characters.
  
  Fix - removed 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. 
  
  

  mysys/my_init.c@stripped, 2008-04-26 02:19:16+02:00, vvaintroub@wva. +0 -1
    Bug#36279
    Removed obsolete setlocale() call

diff -Nrup a/mysys/my_init.c b/mysys/my_init.c
--- a/mysys/my_init.c	2007-11-08 12:18:01 +01:00
+++ b/mysys/my_init.c	2008-04-26 02:19:16 +02:00
@@ -320,7 +320,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
Thread
bk commit into 5.1 tree (vvaintroub:1.2573) BUG#36279vvaintroub26 Apr