mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
Don't disable core on signal just becasue platform doesn't handle stack traces
This commit is contained in:
parent
1c6d95f3bb
commit
2149a42928
1 changed files with 0 additions and 4 deletions
|
@ -830,9 +830,7 @@ char *opt_logname, *opt_slow_logname;
|
|||
/* Static variables */
|
||||
|
||||
static volatile sig_atomic_t kill_in_progress;
|
||||
#ifdef HAVE_STACKTRACE
|
||||
my_bool opt_stack_trace;
|
||||
#endif /* HAVE_STACKTRACE */
|
||||
my_bool opt_expect_abort= 0;
|
||||
static my_bool opt_bootstrap, opt_myisam_log;
|
||||
static int cleanup_done;
|
||||
|
@ -2678,7 +2676,6 @@ static void init_signals(void)
|
|||
|
||||
my_sigset(THR_SERVER_ALARM,print_signal_warning); // Should never be called!
|
||||
|
||||
#ifdef HAVE_STACKTRACE
|
||||
if (opt_stack_trace || (test_flags & TEST_CORE_ON_SIGNAL))
|
||||
{
|
||||
sa.sa_flags = SA_RESETHAND | SA_NODEFER;
|
||||
|
@ -2701,7 +2698,6 @@ static void init_signals(void)
|
|||
sigaction(SIGILL, &sa, NULL);
|
||||
sigaction(SIGFPE, &sa, NULL);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_GETRLIMIT
|
||||
if (test_flags & TEST_CORE_ON_SIGNAL)
|
||||
|
|
Loading…
Reference in a new issue