Skip to content

Commit bca4370

Browse files
author
Sujatha Sivakumar
committed
Merge from mysql-5.5 to mysql-5.6
2 parents d807953 + 5a5024a commit bca4370

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugin/semisync/semisync_master.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,8 @@ int ReplSemiSyncMaster::commitTrx(const char* trx_wait_binlog_name,
760760
At this point, the binlog file and position of this transaction
761761
must have been removed from ActiveTranx.
762762
*/
763-
assert(!active_tranxs_->is_tranx_end_pos(trx_wait_binlog_name,
763+
assert(!getMasterEnabled() ||
764+
!active_tranxs_->is_tranx_end_pos(trx_wait_binlog_name,
764765
trx_wait_binlog_pos));
765766

766767
/* Update the status counter. */

0 commit comments

Comments
 (0)