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:
@ -44,18 +44,6 @@ namespace db
|
||||
return 0;
|
||||
}
|
||||
void cleanup_transaction() override { }
|
||||
bool is_xa () const override
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool is_xa_prepare() const override
|
||||
{
|
||||
return false;
|
||||
}
|
||||
std::string xid() const override
|
||||
{
|
||||
return "";
|
||||
}
|
||||
size_t bytes_generated() const override
|
||||
{
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user