MDEV-25314 Assertion `trx.is_wsrep()' failed in wsrep_is_BF_lock_timeout()
In commit 1bd4115841ecded24217e5d753ed4d9822b4cffd the intention was to move the trx_t::is_wsrep() check to the caller of the function wsrep_is_BF_lock_timeout().
This commit is contained in:
parent
1bd4115841
commit
1d41e9df4a
@ -1800,7 +1800,7 @@ dberr_t lock_wait(que_thr_t *thr)
|
|||||||
else if (!err)
|
else if (!err)
|
||||||
continue;
|
continue;
|
||||||
#ifdef WITH_WSREP
|
#ifdef WITH_WSREP
|
||||||
else if (wsrep_is_BF_lock_timeout(*trx));
|
else if (trx->is_wsrep() && wsrep_is_BF_lock_timeout(*trx));
|
||||||
#endif
|
#endif
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user