mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 02:30:06 +01:00
wait_for_update must unlock mutex.
(Fixed failure in rpl0000008.test)
This commit is contained in:
parent
9cab1f08fd
commit
f2f4bf5240
1 changed files with 3 additions and 0 deletions
|
@ -2074,7 +2074,10 @@ void MYSQL_LOG::wait_for_update(THD* thd, bool is_slave)
|
|||
DBUG_ENTER("wait_for_update");
|
||||
|
||||
if (reset_pending)
|
||||
{
|
||||
pthread_mutex_unlock(&LOCK_log);
|
||||
DBUG_VOID_RETURN;
|
||||
}
|
||||
|
||||
old_msg= thd->enter_cond(&update_cond, &LOCK_log,
|
||||
is_slave ?
|
||||
|
|
Loading…
Add table
Reference in a new issue