mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
In case of an abort, write "handling fatal signal" to DBUG log.
This commit is contained in:
parent
af31e2c55d
commit
d0defd1ea2
1 changed files with 2 additions and 1 deletions
|
@ -15,6 +15,7 @@
|
|||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA */
|
||||
|
||||
#include "mariadb.h"
|
||||
#include "my_dbug.h"
|
||||
#include <signal.h>
|
||||
|
||||
//#include "sys_vars.h"
|
||||
|
@ -118,8 +119,8 @@ extern "C" sig_handler handle_fatal_signal(int sig)
|
|||
my_safe_printf_stderr("Fatal " SIGNAL_FMT " while backtracing\n", sig);
|
||||
goto end;
|
||||
}
|
||||
|
||||
segfaulted = 1;
|
||||
DBUG_PRINT("error", ("handling fatal signal"));
|
||||
|
||||
curr_time= my_time(0);
|
||||
localtime_r(&curr_time, &tm);
|
||||
|
|
Loading…
Reference in a new issue