Skip to content

Commit e1eb39a

Browse files
ryancaicsegrooverdan
authored andcommitted
MDEV-26561 Fix a bug due to unreleased lock
Fix a bug of unreleased lock ctrl_mutex in the method create_worker_threads
1 parent 8b6dfc3 commit e1eb39a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

extra/mariabackup/ds_compress.cc

+1
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@ create_worker_threads(uint n)
369369
thd)) {
370370
msg("compress: pthread_create() failed: "
371371
"errno = %d", errno);
372+
pthread_mutex_unlock(&thd->ctrl_mutex);
372373
goto err;
373374
}
374375
}

0 commit comments

Comments
 (0)