Commit ec79f377 authored by Andrei's avatar Andrei

MDEV-29621 part 2 of post-merge fixes in galera

(part 1 is in the previous commit)
to [ pass ] galera.MDEV-18832, galera.MDEV-27862
parent 430b9727
......@@ -13786,7 +13786,7 @@ int Rows_log_event::update_sequence()
return table->s->sequence->set_value(table, nextval, round, 0) > 0;
}
if (thd->rgi_slave->is_parallel_exec && old_master)
if (old_master && !WSREP(thd) && thd->rgi_slave->is_parallel_exec)
{
DBUG_ASSERT(thd->rgi_slave->parallel_entry);
/*
......
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