wait_for_update must unlock mutex.

(Fixed failure in rpl0000008.test)
This commit is contained in:
monty@mysql.com 2005-11-02 19:28:49 +02:00
parent 9cab1f08fd
commit f2f4bf5240

View file

@ -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 ?