Commit b59b5f4b authored by unknown's avatar unknown

sql/mysqld.cc

    put back the things that the merge removed


sql/mysqld.cc:
  put back the things that the merge removed
parent a4a4a1c2
......@@ -1362,6 +1362,7 @@ thread stack. Please read http://www.mysql.com/doc/L/i/Linux.html\n",
thread_count);
}
#ifdef LINUX_STACK_TRACE
if(!(test_flags & TEST_NO_STACKTRACE))
trace_stack();
fflush(stderr);
#endif /* LINUX_STACK_TRACE */
......@@ -1398,7 +1399,7 @@ static void init_signals(void)
heap_start = (char*)&__bss_start;
#endif
if (!(test_flags & TEST_NO_STACKTRACE))
if (!(test_flags & TEST_NO_STACKTRACE) || (test_flags & TEST_CORE_ON_SIGNAL))
{
sa.sa_handler=handle_segfault;
sigaction(SIGSEGV, &sa, NULL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment