mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fixed failures in rpl_parallel2
Problem was that we used same condition variable with 2 different mutex. Fixed by changing to use COND_rpl_thread_stop instead of COND_parallel_entry for stopping threads. Patch by Kristian Nielsen
This commit is contained in:
@ -74,6 +74,7 @@ struct rpl_parallel_thread {
|
||||
mysql_mutex_t LOCK_rpl_thread;
|
||||
mysql_cond_t COND_rpl_thread;
|
||||
mysql_cond_t COND_rpl_thread_queue;
|
||||
mysql_cond_t COND_rpl_thread_stop;
|
||||
struct rpl_parallel_thread *next; /* For free list. */
|
||||
struct rpl_parallel_thread_pool *pool;
|
||||
THD *thd;
|
||||
|
Reference in New Issue
Block a user