diff options
author | Tor Didriksen <tor.didriksen@oracle.com> | 2012-03-06 13:30:30 +0100 |
---|---|---|
committer | Tor Didriksen <tor.didriksen@oracle.com> | 2012-03-06 13:30:30 +0100 |
commit | c657f00458a3c3fb8a35e974c453ed62b903ec9b (patch) | |
tree | abcef5077fd81bb80fcf56fcb931155633d59a9b /sql/signal_handler.cc | |
parent | 937ee6b7a0f07c5a71407c9be1b864488b90e980 (diff) | |
download | mariadb-git-c657f00458a3c3fb8a35e974c453ed62b903ec9b.tar.gz |
Bug#11761576 54082: HANDLE_SEGFAULT MAKES USE OF UNSAFE FUNCTIONS
Post-push fixes.
mysys/stacktrace.c:
Missing comma after "%s" format specifier.
sql/mysqld.cc:
Move #define to signal_handler.cc
sql/signal_handler.cc:
Missing #define UNSAFE_DEFAULT_LINUX_THREADS 200
Diffstat (limited to 'sql/signal_handler.cc')
-rw-r--r-- | sql/signal_handler.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/signal_handler.cc b/sql/signal_handler.cc index 54b456ec2c4..121338c31d2 100644 --- a/sql/signal_handler.cc +++ b/sql/signal_handler.cc @@ -131,6 +131,7 @@ extern "C" sig_handler handle_fatal_signal(int sig) "Hope that's ok; if not, decrease some variables in the equation.\n\n"); #if defined(HAVE_LINUXTHREADS) +#define UNSAFE_DEFAULT_LINUX_THREADS 200 if (sizeof(char*) == 4 && thread_count > UNSAFE_DEFAULT_LINUX_THREADS) { my_safe_printf_stderr( |