mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +03:00
Add method client_service::is_prepared_xa()
This commit is contained in:
committed by
Jan Lindström
parent
a5d95f0175
commit
6a17207b7f
@ -68,8 +68,7 @@ void wsrep::client_state::close()
|
||||
keep_command_error_ = false;
|
||||
lock.unlock();
|
||||
if (transaction_.active() &&
|
||||
(mode_ != m_local ||
|
||||
transaction_.state() != wsrep::transaction::s_prepared))
|
||||
(mode_ != m_local || !client_service_.is_prepared_xa()))
|
||||
{
|
||||
client_service_.bf_rollback();
|
||||
transaction_.after_statement();
|
||||
|
Reference in New Issue
Block a user