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
@ -194,6 +194,16 @@ namespace wsrep
|
||||
*/
|
||||
virtual bool is_explicit_xa() = 0;
|
||||
|
||||
/**
|
||||
* Returns true if the client has an ongoing XA transaction
|
||||
* in prepared state.
|
||||
* Notice: one could simply check if wsrep::transaction is
|
||||
* in s_prepared state. However, wsrep::transaction does not
|
||||
* transition to prepared state for read-only / empty
|
||||
* transactions.
|
||||
*/
|
||||
virtual bool is_prepared_xa() = 0;
|
||||
|
||||
/**
|
||||
* Returns true if the currently executing command is
|
||||
* a rollback for XA. This is used to avoid setting a
|
||||
|
Reference in New Issue
Block a user