summaryrefslogtreecommitdiff
path: root/heap
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.fi>2001-03-26 01:05:04 +0300
committerunknown <monty@donna.mysql.fi>2001-03-26 01:05:04 +0300
commite7e243ed035a71666e07dd5767536783919764ed (patch)
tree560b5f590ad8a9084b786e4947eb05bfce93fd35 /heap
parent92d0009452b6e4480440d4a614654b057419f6e6 (diff)
downloadmariadb-git-e7e243ed035a71666e07dd5767536783919764ed.tar.gz
Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
(For glibc 2.2) client/thread_test.c: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro dbug/dbug.c: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro heap/hp_open.c: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro isam/open.c: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro myisam/mi_open.c: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro mysys/thr_alarm.c: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro mysys/thr_lock.c: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro mysys/thr_rwlock.c: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro sql/ha_berkeley.cc: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro sql/ha_innobase.cc: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro sql/hash_filo.h: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro sql/hostname.cc: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro sql/item_func.cc: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro sql/log.cc: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro sql/mysqld.cc: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro sql/slave.h: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro sql/sql_class.cc: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro sql/sql_class.h: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro sql/sql_insert.cc: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro sql/sql_udf.cc: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
Diffstat (limited to 'heap')
-rw-r--r--heap/hp_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/heap/hp_open.c b/heap/hp_open.c
index 3040da50484..692142de14a 100644
--- a/heap/hp_open.c
+++ b/heap/hp_open.c
@@ -88,7 +88,7 @@ HP_INFO *heap_open(const char *name, int mode, uint keys, HP_KEYDEF *keydef,
}
#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));
#endif
share->open_list.data=(void*) share;
heap_share_list=list_add(heap_share_list,&share->open_list);