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/sql_insert.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/sql_insert.cc')
-rw-r--r-- | sql/sql_insert.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc index 37933f58162..d2e7c98333d 100644 --- a/sql/sql_insert.cc +++ b/sql/sql_insert.cc @@ -498,7 +498,7 @@ public: bzero((char*) &thd.net,sizeof(thd.net)); // Safety thd.system_thread=1; bzero((char*) &info,sizeof(info)); - pthread_mutex_init(&mutex,NULL); + pthread_mutex_init(&mutex,MY_MUTEX_INIT_FAST); pthread_cond_init(&cond,NULL); pthread_cond_init(&cond_client,NULL); VOID(pthread_mutex_lock(&LOCK_thread_count)); |