diff options
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)); |