mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
add a space between safemalloc error mesage and a stack trace
This commit is contained in:
@ -246,6 +246,7 @@ static void warn(const char *format,...)
|
||||
{
|
||||
void *frame[SF_REMEMBER_FRAMES + SF_FRAMES_SKIP];
|
||||
int frames= backtrace(frame, array_elements(frame));
|
||||
fprintf(stderr, " ");
|
||||
if (frames < SF_REMEMBER_FRAMES + SF_FRAMES_SKIP)
|
||||
frame[frames]= 0;
|
||||
print_stack(frame + SF_FRAMES_SKIP);
|
||||
|
Reference in New Issue
Block a user