mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +03:00
Minimize client_service interface for XA
Remove methods `is_xa()`, `is_xa_prepare()`, and `xid()` from client_service interface. Instead, transactions are explicitly assigned their xid, through at start of XA.
This commit is contained in:
@ -73,24 +73,6 @@ namespace wsrep
|
||||
*/
|
||||
virtual void cleanup_transaction() = 0;
|
||||
|
||||
//
|
||||
// XA
|
||||
//
|
||||
/**
|
||||
* Return true if the current transactions is XA
|
||||
*/
|
||||
virtual bool is_xa() const = 0;
|
||||
|
||||
/**
|
||||
* Return true if the current statement is XA PREPARE
|
||||
*/
|
||||
virtual bool is_xa_prepare() const = 0;
|
||||
|
||||
/**
|
||||
* Return a string representing the xid of the transaction
|
||||
*/
|
||||
virtual std::string xid() const = 0;
|
||||
|
||||
//
|
||||
// Streaming
|
||||
//
|
||||
|
Reference in New Issue
Block a user