From 1b4032c74e36dfdbb2ba0063796dd7c2b924babd Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 22 Nov 2017 08:05:36 +0300 Subject: Explore possibility of supporting mingw --- mysql/mysys/my_thr_init.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mysql/mysys/my_thr_init.c') diff --git a/mysql/mysys/my_thr_init.c b/mysql/mysys/my_thr_init.c index db0881c..f044dff 100644 --- a/mysql/mysys/my_thr_init.c +++ b/mysql/mysys/my_thr_init.c @@ -440,7 +440,7 @@ struct _db_code_state_ **my_thread_var_dbug() In Visual Studio 2005 and later, default SIGABRT handler will overwrite any unhandled exception filter set by the application and will try to call JIT debugger. This is not what we want, this we calling __debugbreak - to stop in debugger, if process is being debugged or to generate + to stop in debugger, if process is being debugged or to generate EXCEPTION_BREAKPOINT and then handle_segfault will do its magic. */ @@ -452,8 +452,7 @@ static void my_sigabrt_handler(int sig) static void install_sigabrt_handler() { /*abort() should not override our exception filter*/ - _set_abort_behavior(0,_CALL_REPORTFAULT); +/* _set_abort_behavior(0,_CALL_REPORTFAULT); */ signal(SIGABRT,my_sigabrt_handler); } #endif - -- cgit v1.1