1
0
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:
Daniele Sciascia
2019-02-10 16:03:49 +01:00
parent 9c9323e2a5
commit 54b0eeee45
3 changed files with 14 additions and 1 deletions

View File

@ -33,6 +33,7 @@ namespace db
public:
client_service(db::client& client);
std::string query() const override { return ""; }
bool interrupted(wsrep::unique_lock<wsrep::mutex>&)
const override
{ return false; }
@ -43,6 +44,10 @@ namespace db
return 0;
}
void cleanup_transaction() override { }
bool is_xa () const override
{
return false;
}
size_t bytes_generated() const override
{
return 0;