mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-12-21 01:22:01 +03:00
s_prepared state for XA transactions
After the XA PREPARE, the XA transactions stay s_prepared until commit/rollback
This commit is contained in:
committed by
Daniele Sciascia
parent
b73df49cff
commit
a9987aa970
@@ -109,6 +109,7 @@ int wsrep::client_state::before_command()
|
||||
// just before BF abort happened.
|
||||
assert(transaction_.active() == false ||
|
||||
(transaction_.state() == wsrep::transaction::s_executing ||
|
||||
transaction_.state() == wsrep::transaction::s_prepared ||
|
||||
transaction_.state() == wsrep::transaction::s_aborted ||
|
||||
transaction_.state() == wsrep::transaction::s_must_abort));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user