diff options
author | ryancaicse <73822648+ryancaicse@users.noreply.github.com> | 2021-10-26 18:48:44 +0800 |
---|---|---|
committer | Daniel Black <daniel@mariadb.org> | 2021-11-09 17:05:55 +1100 |
commit | e1eb39a446c30b8459c39fd7f2ee1c55a36e97d2 (patch) | |
tree | e074e7a739c415a1a0a23486d20f7167b9f85149 | |
parent | 8b6dfc3c029e32dccd6c311b861d6a2ec5163ab6 (diff) | |
download | mariadb-git-e1eb39a446c30b8459c39fd7f2ee1c55a36e97d2.tar.gz |
MDEV-26561 Fix a bug due to unreleased lock
Fix a bug of unreleased lock ctrl_mutex in the method create_worker_threads
-rw-r--r-- | extra/mariabackup/ds_compress.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extra/mariabackup/ds_compress.cc b/extra/mariabackup/ds_compress.cc index 23de4d85116..72c93879947 100644 --- a/extra/mariabackup/ds_compress.cc +++ b/extra/mariabackup/ds_compress.cc @@ -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; } } |