Browse Source
Bug#37003 Tests sporadically crashes with embedded server
Bug#37003 Tests sporadically crashes with embedded server
Another problem is that the backtrace facility wasn't being enabled for non-Linux targets even if the target OS has the backtrace functions. Also, the stacktrace functions inside mysqltest were being used without proper checks for their presence in the build. client/mysqltest.c: Only use stacktrace functions if they are available. configure.in: Check if the compiler defines __bss_start include/my_stacktrace.h: Enable stacktrace if system has backtrace functions. mysys/stacktrace.c: Use backtrace functions if the system supports it. sql/mysqld.cc: Only use stacktrace functions if they are available.pull/374/head
5 changed files with 96 additions and 60 deletions
-
26client/mysqltest.c
-
11configure.in
-
5include/my_stacktrace.h
-
112mysys/stacktrace.c
-
2sql/mysqld.cc
Write
Preview
Loading…
Cancel
Save
Reference in new issue