summaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorSven Sandberg <sven.sandberg@oracle.com>2011-05-26 12:50:43 +0200
committerSven Sandberg <sven.sandberg@oracle.com>2011-05-26 12:50:43 +0200
commitb76c277a8f46f7e1047099df4686cb06c26a08fa (patch)
tree0e832d27e21a2b34abfb7f7e0894140570d2528f /BUILD
parentaa0c8235a4fed513982cf3f576184404cf357826 (diff)
downloadmariadb-git-b76c277a8f46f7e1047099df4686cb06c26a08fa.tar.gz
BUG#12574820: binlog.binlog_tmp_table timing out in daily and weekly trunk run
Problem: MYSQL_BIN_LOG::reset_logs acquires mutexes in wrong order. The correct order is first LOCK_thread_count and then LOCK_log. This function does it the other way around. This leads to deadlock when run in parallel with a thread that takes the two locks in correct order. For example, a thread that disconnects will take the locks in the correct order. Fix: change order of the locks in MYSQL_BIN_LOG::reset_logs: first LOCK_thread_count and then LOCK_log.
Diffstat (limited to 'BUILD')
0 files changed, 0 insertions, 0 deletions