Commit 1d41e9df authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-25314 Assertion `trx.is_wsrep()' failed in wsrep_is_BF_lock_timeout()

In commit 1bd41158 the intention
was to move the trx_t::is_wsrep() check to the caller of the function
wsrep_is_BF_lock_timeout().
parent 1bd41158
......@@ -1800,7 +1800,7 @@ dberr_t lock_wait(que_thr_t *thr)
else if (!err)
continue;
#ifdef WITH_WSREP
else if (wsrep_is_BF_lock_timeout(*trx));
else if (trx->is_wsrep() && wsrep_is_BF_lock_timeout(*trx));
#endif
else
{
......
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