summaryrefslogtreecommitdiff
path: root/sql/log.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/log.cc')
-rw-r--r--sql/log.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/log.cc b/sql/log.cc
index 0fb6cd18690..64174a9a454 100644
--- a/sql/log.cc
+++ b/sql/log.cc
@@ -5555,6 +5555,7 @@ int MYSQL_BIN_LOG::rotate(bool force_rotate, bool* check_purge)
#ifdef WITH_WSREP
if (WSREP_ON && wsrep_to_isolation)
{
+ *check_purge= false;
WSREP_DEBUG("avoiding binlog rotate due to TO isolation: %d",
wsrep_to_isolation);
DBUG_RETURN(0);