Commit 67d8e882 authored by unknown's avatar unknown

Don't print out 'got signal' if not using --warnings

parent 501650c5
...@@ -683,6 +683,7 @@ pthread_handler_decl(kill_server_thread,arg __attribute__((unused))) ...@@ -683,6 +683,7 @@ pthread_handler_decl(kill_server_thread,arg __attribute__((unused)))
static sig_handler print_signal_warning(int sig) static sig_handler print_signal_warning(int sig)
{ {
if (opt_warnings)
sql_print_error("Warning: Got signal %d from thread %d", sql_print_error("Warning: Got signal %d from thread %d",
sig,my_thread_id()); sig,my_thread_id());
#ifdef DONT_REMEMBER_SIGNAL #ifdef DONT_REMEMBER_SIGNAL
......
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