diff options
author | Monty <monty@mariadb.org> | 2016-04-28 13:39:05 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2016-04-28 13:39:55 +0300 |
commit | 732adec0a4c75d99389230feeb0deca0ad668de7 (patch) | |
tree | 3d381e7dd430bf57cc4a2a5febc0640243ecfdfe /sql/log.cc | |
parent | b4ff64568c88ab3ce559e7bd39853d9cbf86704a (diff) | |
download | mariadb-git-732adec0a4c75d99389230feeb0deca0ad668de7.tar.gz |
Removed some not needed when doing delete thd, which caused warnings about
wrong mutex usage from safe_mutex.
Ensure that LOCK_status is always taken before LOCK_thread_count
Diffstat (limited to 'sql/log.cc')
-rw-r--r-- | sql/log.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/log.cc b/sql/log.cc index 6e11f4bbe5d..a938dcbc9f8 100644 --- a/sql/log.cc +++ b/sql/log.cc @@ -9597,9 +9597,7 @@ binlog_background_thread(void *arg __attribute__((unused))) THD_STAGE_INFO(thd, stage_binlog_stopping_background_thread); - mysql_mutex_lock(&LOCK_thread_count); delete thd; - mysql_mutex_unlock(&LOCK_thread_count); my_thread_end(); |