diff options
author | unknown <monty@donna.mysql.fi> | 2001-03-24 20:15:14 +0200 |
---|---|---|
committer | unknown <monty@donna.mysql.fi> | 2001-03-24 20:15:14 +0200 |
commit | 13a57d19d11333f4fd255725f91256c155b90a12 (patch) | |
tree | e705394f8291c4c2268717e3fb70734414d0f1d9 /mysys/my_open.c | |
parent | 734c846c26cba1dae6a8e1cedc60e33637a14853 (diff) | |
download | mariadb-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_open.c')
-rw-r--r-- | mysys/my_open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_open.c b/mysys/my_open.c index 1bca4d9cccd..fcf1be575c8 100644 --- a/mysys/my_open.c +++ b/mysys/my_open.c @@ -107,7 +107,7 @@ File my_register_filename(File fd, const char *FileName, enum file_type my_file_opened++; my_file_info[fd].type = type_of_file; #if defined(THREAD) && !defined(HAVE_PREAD) - pthread_mutex_init(&my_file_info[fd].mutex,NULL); + pthread_mutex_init(&my_file_info[fd].mutex,MY_MUTEX_INIT_FAST); #endif pthread_mutex_unlock(&THR_LOCK_open); DBUG_PRINT("exit",("fd: %d",fd)); |