diff options
author | monty@donna.mysql.fi <> | 2001-03-26 01:05:04 +0300 |
---|---|---|
committer | monty@donna.mysql.fi <> | 2001-03-26 01:05:04 +0300 |
commit | add70fc1ba71015c75e97da9380cb2385cd112fe (patch) | |
tree | 560b5f590ad8a9084b786e4947eb05bfce93fd35 /sql/hostname.cc | |
parent | 76e59081a05259623282f478ee8249eb341766f9 (diff) | |
download | mariadb-git-add70fc1ba71015c75e97da9380cb2385cd112fe.tar.gz |
Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
(For glibc 2.2)
Diffstat (limited to 'sql/hostname.cc')
-rw-r--r-- | sql/hostname.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/hostname.cc b/sql/hostname.cc index 90938c41ee9..fed9e60b574 100644 --- a/sql/hostname.cc +++ b/sql/hostname.cc @@ -57,7 +57,7 @@ void hostname_cache_refresh() bool hostname_cache_init() { - (void) pthread_mutex_init(&LOCK_hostname,NULL); + (void) pthread_mutex_init(&LOCK_hostname,MY_MUTEX_INIT_SLOW); if (!(hostname_cache=new hash_filo(HOST_CACHE_SIZE,offsetof(host_entry,ip), sizeof(struct in_addr),NULL, (void (*)(void*)) free))) |