aboutsummaryrefslogtreecommitdiff
path: root/mysql/mysys/my_thr_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysql/mysys/my_thr_init.c')
-rw-r--r--mysql/mysys/my_thr_init.c5
1 files changed, 2 insertions, 3 deletions
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
-