diff options
author | monty@donna.mysql.fi <> | 2001-03-24 20:15:14 +0200 |
---|---|---|
committer | monty@donna.mysql.fi <> | 2001-03-24 20:15:14 +0200 |
commit | aa115733800a27fb5ba1f9dd9a3f05b1ec8ec445 (patch) | |
tree | e705394f8291c4c2268717e3fb70734414d0f1d9 /mysys/my_open.c | |
parent | 2531f38803ff6804d6b195cb4f52cc55365435ed (diff) | |
download | mariadb-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_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)); |