1
0
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:
Daniele Sciascia
2019-07-30 11:25:38 +02:00
parent 052247144f
commit 5d18ce3e75
7 changed files with 85 additions and 126 deletions

View File

@ -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;