| Bug #304 | Server freezes when default-character-set=win1250ch | ||
|---|---|---|---|
| Submitted: | 17 Apr 2003 13:01 | Modified: | 28 Apr 2003 4:28 |
| Reporter: | Ondra Zizka | Email Updates: | |
| Status: | Closed | ||
| Category: | Server | Severity: | S3 (Non-critical) |
| Version: | 3.23.55 | OS: | Microsoft Windows (Windows 2000 SP2) |
| Assigned to: | Bugs System | Target Version: | |
[17 Apr 2003 13:01]
Ondra Zizka
[17 Apr 2003 15:54]
Miguel Solorzano
Thanks for the debug report. Actually the server stuck in
the shut down process. However the correct message error
is sent at mysql.err file. Also this happens with any
not valid character ser.
Suggested fix:
*** d:\mysql-dev\mysql\sql\mysqld.cc Thu Apr 17 18:09:34 2003
--- c:\3.23.56\sql\mysqld.cc Thu Apr 17 19:44:40 2003
***************
*** 785,791 ****
if (!opt_bootstrap)
(void) my_delete(pidfile_name,MYF(0)); // This may not always exist
#endif
! if (print_message)
sql_print_error(ER(ER_SHUTDOWN_COMPLETE),my_progname);
x_free((gptr) my_errmsg[ERRMAPP]); /* Free messages */
my_thread_end();
--- 785,791 ----
if (!opt_bootstrap)
(void) my_delete(pidfile_name,MYF(0)); // This may not always exist
#endif
! if (print_message && errmesg)
sql_print_error(ER(ER_SHUTDOWN_COMPLETE),my_progname);
x_free((gptr) my_errmsg[ERRMAPP]); /* Free messages */
my_thread_end();
[28 Apr 2003 4:28]
Miguel Solorzano
Thanks for the bug report. It was fixed in the latest mysql-3.23 BK tree.
