summaryrefslogtreecommitdiff
path: root/mysys/my_winthread.c
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.fi>2001-03-24 20:15:14 +0200
committerunknown <monty@donna.mysql.fi>2001-03-24 20:15:14 +0200
commit13a57d19d11333f4fd255725f91256c155b90a12 (patch)
treee705394f8291c4c2268717e3fb70734414d0f1d9 /mysys/my_winthread.c
parent734c846c26cba1dae6a8e1cedc60e33637a14853 (diff)
downloadmariadb-git-13a57d19d11333f4fd255725f91256c155b90a12.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 Docs/manual.texi: Changelog include/my_pthread.h: Added defines for fast mutex in glibc 2.2 mysql-test/t/join_crash.test: Changed table names to t1,t2... mysys/my_bitmap.c: Use fast mutex mysys/my_open.c: Use fast mutex mysys/my_pthread.c: Use fast mutex mysys/my_thr_init.c: Use fast mutex mysys/my_winthread.c: Use fast mutex mysys/thr_mutex.c: Use new mutexattr with error checking sql/ha_innobase.cc: Fix return value of mysortncmp() for innobase sql/sql_select.cc: Fix join_crash bug BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
Diffstat (limited to 'mysys/my_winthread.c')
-rw-r--r--mysys/my_winthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_winthread.c b/mysys/my_winthread.c
index a1fb2c76184..a77167c23e4 100644
--- a/mysys/my_winthread.c
+++ b/mysys/my_winthread.c
@@ -39,7 +39,7 @@ struct pthread_map
void win_pthread_init(void)
{
- pthread_mutex_init(&THR_LOCK_thread,NULL);
+ pthread_mutex_init(&THR_LOCK_thread,MY_MUTEX_INIT_FAST);
}
/*