From: Date: May 29 2007 10:48am Subject: bk commit into 5.0 tree (gkodinov:1.2504) BUG#28366 List-Archive: http://lists.mysql.com/commits/27539 X-Bug: 28366 Message-Id: <200705290848.l4T8mOvg012569@magare.gmz> Below is the list of changes that have just been committed into a local 5.0 repository of kgeorge. When kgeorge 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, 2007-05-29 11:48:20+03:00, gkodinov@stripped +1 -0 Bug #28366: multiple load_file('a: ... ') causes entire mysqld process to hang When a Windows console application that has an open console (e.g. mysqld-nt started with the --console option) encounters certain type of errors (like no floppy disk in a floppy drive) the OS will pop-up an "abort/retry/ignore" dialog and block the application (depending on a registry setting : see http://msdn2.microsoft.com/en-us/embedded/aa731206.aspx for details). Fixed by disabling the dialog popups for every error execept a GPF and allignment errors. This is safe to do as the actual error gets reported (and handled) to mysqld. sql/mysqld.cc@stripped, 2007-05-29 11:48:18+03:00, gkodinov@stripped +5 -0 Bug #28366: disable the system error messageboxes. # This is a BitKeeper patch. What follows are the unified diffs for the # set of deltas contained in the patch. The rest of the patch, the part # that BitKeeper cares about, is below these diffs. # User: gkodinov # Host: magare.gmz # Root: /home/kgeorge/mysql/work/B28366-5.0-opt-win --- 1.609/sql/mysqld.cc 2007-05-02 15:25:09 +03:00 +++ 1.610/sql/mysqld.cc 2007-05-29 11:48:18 +03:00 @@ -3574,6 +3574,11 @@ we force server id to 2, but this MySQL freopen(log_error_file,"a+",stderr); FreeConsole(); // Remove window } + else + { + /* Don't show error dialog box when on foreground: it stops the server */ + SetErrorMode(SEM_NOOPENFILEERRORBOX | SEM_FAILCRITICALERRORS); + } #endif /*