summaryrefslogtreecommitdiff
path: root/sql/signal_handler.cc
diff options
context:
space:
mode:
authorJon Olav Hauglid <jon.hauglid@oracle.com>2014-06-12 12:35:55 +0200
committerSergei Golubchik <serg@mariadb.org>2020-03-10 19:24:21 +0100
commit52d7980753305261c4d9123f89bd78fa76527b03 (patch)
treedd1dda72d9aeedc29bd5a48a8af418294869393e /sql/signal_handler.cc
parent17ea240f6b683412bd231c15105c533b3cc81de5 (diff)
downloadmariadb-git-52d7980753305261c4d9123f89bd78fa76527b03.tar.gz
Bug#18913935: REMOVE SUPPORT FOR LINUXTHREADS
This patch removes support for LinuxThreads. It was superseded by NPTL in Linux 2.6 (2003).
Diffstat (limited to 'sql/signal_handler.cc')
-rw-r--r--sql/signal_handler.cc18
1 files changed, 0 insertions, 18 deletions
diff --git a/sql/signal_handler.cc b/sql/signal_handler.cc
index 51b9d7a2c51..cbf58bb6e57 100644
--- a/sql/signal_handler.cc
+++ b/sql/signal_handler.cc
@@ -42,9 +42,6 @@
static volatile sig_atomic_t segfaulted= 0;
extern ulong max_used_connections;
extern volatile sig_atomic_t calling_initgroups;
-#ifdef HAVE_NPTL
-extern volatile sig_atomic_t ld_assume_kernel_is_set;
-#endif
extern const char *optimizer_switch_names[];
@@ -296,21 +293,6 @@ extern "C" sig_handler handle_fatal_signal(int sig)
}
#endif
-#ifdef HAVE_NPTL
- if (thd_lib_detected == THD_LIB_LT && !ld_assume_kernel_is_set)
- {
- my_safe_printf_stderr("%s",
- "You are running a statically-linked LinuxThreads binary on an NPTL\n"
- "system. This can result in crashes on some distributions due to "
- "LT/NPTL conflicts.\n"
- "You should either build a dynamically-linked binary, "
- "or force LinuxThreads\n"
- "to be used with the LD_ASSUME_KERNEL environment variable.\n"
- "Please consult the documentation for your distribution "
- "on how to do that.\n");
- }
-#endif
-
if (locked_in_memory)
{
my_safe_printf_stderr("%s", "\n"