mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-31 18:24:25 +03:00
codership/wsrep-lib#90 Fixed assertion in before_commit()
Added unit test which makes assertion to fail if the fix is not present.
This commit is contained in:
@ -373,7 +373,8 @@ int wsrep::transaction::before_commit()
|
||||
||
|
||||
(state() == s_must_abort ||
|
||||
state() == s_must_replay ||
|
||||
state() == s_cert_failed));
|
||||
state() == s_cert_failed ||
|
||||
state() == s_aborted));
|
||||
}
|
||||
else if (state() != s_committing)
|
||||
{
|
||||
|
Reference in New Issue
Block a user