Commit 430b9727 authored by Oleksandr Byelkin's avatar Oleksandr Byelkin

Protect a new condition (by Andrei)

parent 5597562a
......@@ -13766,7 +13766,11 @@ int Rows_log_event::update_sequence()
int err= 0;
if (!bitmap_is_set(table->rpl_write_set, MIN_VALUE_FIELD_NO) ||
(!(table->in_use->rgi_slave->gtid_ev_flags2 & Gtid_log_event::FL_DDL) &&
(
#if defined(WITH_WSREP)
! WSREP(thd) &&
#endif
!(table->in_use->rgi_slave->gtid_ev_flags2 & Gtid_log_event::FL_DDL) &&
!(old_master=
rpl_master_has_bug(thd->rgi_slave->rli,
29621, FALSE, FALSE, FALSE, TRUE))))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment