Commit 4e04aa4a authored by sasha@mysql.sashanet.com's avatar sasha@mysql.sashanet.com
Browse files

sql/mysqld.cc

    put back the things that the merge removed
parent c77547ea
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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);