Loading mysys/my_init.c +4 −0 Original line number Diff line number Diff line Loading @@ -218,6 +218,10 @@ static void my_win_init(void) setlocale(LC_CTYPE, ""); /* To get right sortorder */ /* Clear the OS system variable TZ and avoid the 100% CPU usage */ _putenv( "TZ=" ); _tzset(); /* apre la chiave HKEY_LOCAL_MACHINES\software\MySQL */ if (RegOpenKeyEx(HKEY_LOCAL_MACHINE,(LPCTSTR)targetKey,0, KEY_READ,&hSoftMysql) != ERROR_SUCCESS) Loading Loading
mysys/my_init.c +4 −0 Original line number Diff line number Diff line Loading @@ -218,6 +218,10 @@ static void my_win_init(void) setlocale(LC_CTYPE, ""); /* To get right sortorder */ /* Clear the OS system variable TZ and avoid the 100% CPU usage */ _putenv( "TZ=" ); _tzset(); /* apre la chiave HKEY_LOCAL_MACHINES\software\MySQL */ if (RegOpenKeyEx(HKEY_LOCAL_MACHINE,(LPCTSTR)targetKey,0, KEY_READ,&hSoftMysql) != ERROR_SUCCESS) Loading