1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-28 20:02:00 +03:00

Address review comments

Removed unnecessary assertion in transaction::before_commit().
Assert client state and mode in client_state::xa_detach().
This commit is contained in:
Daniele Sciascia
2020-10-28 14:37:46 +01:00
parent 3f449c6318
commit 41a6e9dad7
2 changed files with 2 additions and 1 deletions

View File

@ -484,7 +484,6 @@ int wsrep::transaction::before_commit()
if (ret == 0 && state() == s_prepared)
{
assert(state() == s_prepared);
ret = certify_commit(lock);
assert((ret == 0 && state() == s_committing) ||
(state() == s_must_abort ||