mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Protect a new condition (by Andrei)
This commit is contained in:
@@ -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))))
|
||||
|
Reference in New Issue
Block a user