mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
MDEV-26561 Fix a bug due to unreleased lock
Fix a bug of unreleased lock ctrl_mutex in the method create_worker_threads
This commit is contained in:
parent
8b6dfc3c02
commit
e1eb39a446
1 changed files with 1 additions and 0 deletions
|
@ -369,6 +369,7 @@ create_worker_threads(uint n)
|
|||
thd)) {
|
||||
msg("compress: pthread_create() failed: "
|
||||
"errno = %d", errno);
|
||||
pthread_mutex_unlock(&thd->ctrl_mutex);
|
||||
goto err;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue