mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
Merged 5.1 with maria 5.1
This commit is contained in:
commit
f47e003e1b
1924 changed files with 472176 additions and 152416 deletions
|
|
@ -355,10 +355,10 @@ void thr_lock_init(THR_LOCK *lock)
|
|||
void thr_lock_delete(THR_LOCK *lock)
|
||||
{
|
||||
DBUG_ENTER("thr_lock_delete");
|
||||
VOID(pthread_mutex_destroy(&lock->mutex));
|
||||
pthread_mutex_lock(&THR_LOCK_lock);
|
||||
thr_lock_thread_list=list_delete(thr_lock_thread_list,&lock->list);
|
||||
pthread_mutex_unlock(&THR_LOCK_lock);
|
||||
pthread_mutex_destroy(&lock->mutex);
|
||||
DBUG_VOID_RETURN;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue