summaryrefslogtreecommitdiff
path: root/mysys/my_pthread.c
diff options
context:
space:
mode:
authormonty@donna.mysql.fi <>2001-03-24 20:15:14 +0200
committermonty@donna.mysql.fi <>2001-03-24 20:15:14 +0200
commitaa115733800a27fb5ba1f9dd9a3f05b1ec8ec445 (patch)
treee705394f8291c4c2268717e3fb70734414d0f1d9 /mysys/my_pthread.c
parent2531f38803ff6804d6b195cb4f52cc55365435ed (diff)
downloadmariadb-git-aa115733800a27fb5ba1f9dd9a3f05b1ec8ec445.tar.gz
Added defines for fast mutex in glibc 2.2 (should be safe)
Fixed crash in SELECT DISTINCT SUM(...) Fix return value of mysortncmp() for innobase Fix join_crash bug
Diffstat (limited to 'mysys/my_pthread.c')
-rw-r--r--mysys/my_pthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_pthread.c b/mysys/my_pthread.c
index b450bba473d..a3a193650df 100644
--- a/mysys/my_pthread.c
+++ b/mysys/my_pthread.c
@@ -316,7 +316,7 @@ int sigwait(sigset_t *setp, int *sigp)
pthread_t sigwait_thread_id;
inited=1;
sigemptyset(&pending_set);
- pthread_mutex_init(&LOCK_sigwait,NULL);
+ pthread_mutex_init(&LOCK_sigwait,MY_MUTEX_INIT_FAST);
pthread_cond_init(&COND_sigwait,NULL);
pthread_attr_init(&thr_attr);