[MDEV-7977] [PATCH] MYSQL_BIN_LOG::write_incident failing to release LOCK_log Created: 2015-04-11 Updated: 2015-04-24 Resolved: 2015-04-24 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Affects Version/s: | 5.5.42, 10.0 |
| Fix Version/s: | 5.5.43 |
| Type: | Bug | Priority: | Major |
| Reporter: | Daniel Black | Assignee: | Kristian Nielsen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | binlog, replication | ||
| Description |
|
sql/log.cc
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. |
| Comments |
| Comment by Daniel Black [ 2015-04-11 ] |
| Comment by Kristian Nielsen [ 2015-04-24 ] |
|
Pulled, thanks Daniel! |