diff options
author | Sergei Golubchik <sergii@pisem.net> | 2012-07-31 19:29:07 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2012-07-31 19:29:07 +0200 |
commit | 0117a92fedc2e5294682127d54034af5b3f96c8e (patch) | |
tree | 0c075a3fa43f64a3895acc704bacf69a96afda14 /sql/signal_handler.cc | |
parent | 42ea25d4c51b5466b4b03a29abe480e763732cf2 (diff) | |
download | mariadb-git-0117a92fedc2e5294682127d54034af5b3f96c8e.tar.gz |
MDEV-419 ensure that all HAVE_XXX constants can be set by cmake
add missing checks to configure.cmake
remove dead code and unused HAVE_xxx constants from the sources
Diffstat (limited to 'sql/signal_handler.cc')
-rw-r--r-- | sql/signal_handler.cc | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/sql/signal_handler.cc b/sql/signal_handler.cc index 37f28844a7c..edc33c4d63b 100644 --- a/sql/signal_handler.cc +++ b/sql/signal_handler.cc @@ -138,23 +138,6 @@ extern "C" sig_handler handle_fatal_signal(int sig) my_safe_printf_stderr("%s", "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( - "You seem to be running 32-bit Linux and have " - "%d concurrent connections.\n" - "If you have not changed STACK_SIZE in LinuxThreads " - "and built the binary \n" - "yourself, LinuxThreads is quite likely to steal " - "a part of the global heap for\n" - "the thread stack. Please read " - "http://dev.mysql.com/doc/mysql/en/linux-installation.html\n\n" - thread_count); - } -#endif /* HAVE_LINUXTHREADS */ - #ifdef HAVE_STACKTRACE thd= current_thd; |