mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-30 07:23:07 +03:00
Address review comments
* Added unit tests for transaction::xa_detach() and transaction::xa_replay() * Added unit tests for wsrep::xid * Fixed minor issues pointed out by reviewer
This commit is contained in:
@ -37,6 +37,10 @@ int wsrep::mock_high_priority_service::adopt_transaction(
|
||||
const wsrep::transaction& transaction)
|
||||
{
|
||||
client_state_->adopt_transaction(transaction);
|
||||
if (transaction.state() == wsrep::transaction::s_prepared)
|
||||
{
|
||||
client_state_->restore_xid(transaction.xid());
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user