Commit 519e4322 authored by sjaakola's avatar sjaakola Committed by Jan Lindström

MW-369 FK fixes

Skipping wsrep extra FK check for applier and replayer
Signed-off-by: default avatarJan Lindström <jan.lindstrom@mariadb.com>
parent 6326f0ea
......@@ -1822,7 +1822,9 @@ row_upd_sec_index_entry(
index, offsets, thr, &mtr);
}
#ifdef WITH_WSREP
if (err == DB_SUCCESS && !referenced &&
if (wsrep_on(trx->mysql_thd) &&
!wsrep_thd_is_BF(trx->mysql_thd, FALSE) &&
err == DB_SUCCESS && !referenced &&
!(parent && que_node_get_type(parent) ==
QUE_NODE_UPDATE &&
((upd_node_t*)parent)->cascade_node == node) &&
......
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