summaryrefslogtreecommitdiff
path: root/sql/log.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/log.cc')
-rw-r--r--sql/log.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/log.cc b/sql/log.cc
index a9ba0c4eb32..e0fd74b5e38 100644
--- a/sql/log.cc
+++ b/sql/log.cc
@@ -2230,8 +2230,7 @@ static int binlog_savepoint_rollback(handlerton *hton, THD *thd, void *sv)
DBUG_RETURN(mysql_bin_log.write(&qinfo));
}
- if (!wsrep_emulate_bin_log)
- binlog_trans_log_truncate(thd, *(my_off_t*)sv);
+ binlog_trans_log_truncate(thd, *(my_off_t*)sv);
DBUG_RETURN(0);
}