diff options
author | unknown <monty@donna.mysql.fi> | 2001-03-26 01:05:04 +0300 |
---|---|---|
committer | unknown <monty@donna.mysql.fi> | 2001-03-26 01:05:04 +0300 |
commit | 7f25c8c035f777cb1630eedd4cb02501c6a49bd9 (patch) | |
tree | 560b5f590ad8a9084b786e4947eb05bfce93fd35 /sql/ha_berkeley.cc | |
parent | bc06863272a7fdc04a43cd60ea75a4e672741a60 (diff) | |
download | mariadb-git-7f25c8c035f777cb1630eedd4cb02501c6a49bd9.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 'sql/ha_berkeley.cc')
-rw-r--r-- | sql/ha_berkeley.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/ha_berkeley.cc b/sql/ha_berkeley.cc index 10ff4dcc260..9dbd7b6c998 100644 --- a/sql/ha_berkeley.cc +++ b/sql/ha_berkeley.cc @@ -171,7 +171,7 @@ bool berkeley_init(void) (void) hash_init(&bdb_open_tables,32,0,0, (hash_get_key) bdb_get_key,0,0); - pthread_mutex_init(&bdb_mutex,NULL); + pthread_mutex_init(&bdb_mutex,MY_MUTEX_INIT_FAST); DBUG_RETURN(db_env == 0); } @@ -2151,7 +2151,7 @@ static BDB_SHARE *get_share(const char *table_name, TABLE *table) return 0; /* purecov: inspected */ } thr_lock_init(&share->lock); - pthread_mutex_init(&share->mutex,NULL); + pthread_mutex_init(&share->mutex,MY_MUTEX_INIT_FAST); } } pthread_mutex_unlock(&bdb_mutex); |