summaryrefslogtreecommitdiff
path: root/mysys/safemalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/safemalloc.c')
-rw-r--r--mysys/safemalloc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mysys/safemalloc.c b/mysys/safemalloc.c
index 6283ed20cca..bdcfe4480db 100644
--- a/mysys/safemalloc.c
+++ b/mysys/safemalloc.c
@@ -108,8 +108,6 @@ void *sf_malloc(size_t size, myf my_flags)
if (!init_done)
{
pthread_mutex_init(&sf_mutex, NULL);
- /* disable deadlock detector, because it calls my_malloc() */
- safe_mutex_setflags(&sf_mutex, MYF_NO_DEADLOCK_DETECTION);
atexit(sf_terminate);
init_done= 1;
}