1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-04-19 21:02:17 +03:00

Assert bf_seqno is never undefined when passed to bf_abort()

This commit is contained in:
Denis Protivensky 2024-12-02 14:06:42 +03:00
parent 7994288534
commit 5321c91e7c

View File

@ -995,6 +995,7 @@ bool wsrep::transaction::bf_abort(
bool ret(false); bool ret(false);
const enum wsrep::transaction::state state_at_enter(state()); const enum wsrep::transaction::state state_at_enter(state());
assert(lock.owns_lock()); assert(lock.owns_lock());
assert(!bf_seqno.is_undefined());
if (active() == false) if (active() == false)
{ {