Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
5.5.42, 10.0(EOL)
Description
sql/log.cc
MYSQL_BIN_LOG::write_incident
|
|
mysql_mutex_lock(&LOCK_log);
|
if (likely(is_open()))
|
...
|
mysql_mutex_unlock(&LOCK_log);
|
}
|
DBUG_RETURN(error);
|
|
There is no mysql_mutex_unlock(LOCK_log) in the !likely(is_open()) if branch. It seems the caller of this function doesn't release it either.