summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authormonty@donna.mysql.fi <>2001-03-26 01:05:04 +0300
committermonty@donna.mysql.fi <>2001-03-26 01:05:04 +0300
commitadd70fc1ba71015c75e97da9380cb2385cd112fe (patch)
tree560b5f590ad8a9084b786e4947eb05bfce93fd35 /myisam
parent76e59081a05259623282f478ee8249eb341766f9 (diff)
downloadmariadb-git-add70fc1ba71015c75e97da9380cb2385cd112fe.tar.gz
Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
(For glibc 2.2)
Diffstat (limited to 'myisam')
-rw-r--r--myisam/mi_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/mi_open.c b/myisam/mi_open.c
index 0280355ae72..de1888bc9b7 100644
--- a/myisam/mi_open.c
+++ b/myisam/mi_open.c
@@ -393,7 +393,7 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags)
setup_functions(share);
#ifdef THREAD
thr_lock_init(&share->lock);
- VOID(pthread_mutex_init(&share->intern_lock,NULL));
+ VOID(pthread_mutex_init(&share->intern_lock,MY_MUTEX_INIT_FAST));
for (i=0; i<keys; i++)
VOID(my_rwlock_init(&share->key_root_lock[i], NULL));
if (!thr_lock_inited)