summaryrefslogtreecommitdiff
path: root/sql/hash_filo.h
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 /sql/hash_filo.h
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 'sql/hash_filo.h')
-rw-r--r--sql/hash_filo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/hash_filo.h b/sql/hash_filo.h
index 7d659f706a3..157c2739add 100644
--- a/sql/hash_filo.h
+++ b/sql/hash_filo.h
@@ -70,7 +70,7 @@ public:
if (!init)
{
init=1;
- (void) pthread_mutex_init(&lock,NULL);
+ (void) pthread_mutex_init(&lock,MY_MUTEX_INIT_FAST);
}
if (!locked)
(void) pthread_mutex_lock(&lock);