mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +03:00
Add is_query() and is_xa() to dbsim/test client service implementations
This commit is contained in:
@ -76,6 +76,8 @@ namespace wsrep
|
||||
, aborts_()
|
||||
{ }
|
||||
|
||||
std::string query() const WSREP_OVERRIDE { return ""; }
|
||||
|
||||
int bf_rollback() WSREP_OVERRIDE;
|
||||
|
||||
bool interrupted(wsrep::unique_lock<wsrep::mutex>&)
|
||||
@ -126,6 +128,12 @@ namespace wsrep
|
||||
}
|
||||
|
||||
void cleanup_transaction() WSREP_OVERRIDE { }
|
||||
|
||||
bool is_xa() const WSREP_OVERRIDE
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
size_t bytes_generated() const WSREP_OVERRIDE
|
||||
{
|
||||
return bytes_generated_;
|
||||
|
Reference in New Issue
Block a user