summaryrefslogtreecommitdiff
path: root/sql/sql_reload.cc
diff options
context:
space:
mode:
authorSujatha Sivakumar <sujatha.sivakumar@oracle.com>2016-05-13 16:42:45 +0530
committerPrashant Tekriwal <prashant.tekriwal@oracle.com>2016-05-16 11:34:20 +0200
commitef3f09f0c9e62ea1bf86b33b5d97e954b3ae34fe (patch)
treee5e133ed139581968188e0800606ed0c9867f311 /sql/sql_reload.cc
parent9d72fb4af0d87f6a69a3ccb9202b4029acf2bd56 (diff)
downloadmariadb-git-ef3f09f0c9e62ea1bf86b33b5d97e954b3ae34fe.tar.gz
Bug#23251517: SEMISYNC REPLICATION HANGINGmysql-5.5.50
Revert following bug fix: Bug#20685029: SLAVE IO THREAD SHOULD STOP WHEN DISK IS FULL Bug#21753696: MAKE SHOW SLAVE STATUS NON BLOCKING IF IO THREAD WAITS FOR DISK SPACE This fix results in a deadlock between slave IO thread and SQL thread. (cherry picked from commit e3fea6c6dbb36c6ab21c4ab777224560e9608b53)
Diffstat (limited to 'sql/sql_reload.cc')
-rw-r--r--sql/sql_reload.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_reload.cc b/sql/sql_reload.cc
index f24f31b6399..b29cc9a9433 100644
--- a/sql/sql_reload.cc
+++ b/sql/sql_reload.cc
@@ -157,7 +157,7 @@ bool reload_acl_and_cache(THD *thd, unsigned long options,
{
#ifdef HAVE_REPLICATION
mysql_mutex_lock(&LOCK_active_mi);
- if (rotate_relay_log(active_mi, true/*need_data_lock=true*/))
+ if (rotate_relay_log(active_mi))
*write_to_binlog= -1;
mysql_mutex_unlock(&LOCK_active_mi);
#endif