1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-28 20:02:00 +03:00

Remove query() method from wsrep::client_service interface

This commit is contained in:
Daniele Sciascia
2019-10-10 12:40:21 +02:00
parent 5d18ce3e75
commit 725f148ddb
4 changed files with 0 additions and 6 deletions

View File

@ -33,7 +33,6 @@ 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; }

View File

@ -40,8 +40,6 @@ namespace wsrep
client_service() { }
virtual ~client_service() { }
virtual std::string query() const = 0;
/**
* Return true if the current transaction has been interrupted
* by the DBMS. The lock which is passed to interrupted call

View File

@ -1781,7 +1781,6 @@ void wsrep::transaction::debug_log_state(
<< ", sr_rb: " << streaming_context_.rolled_back()
<< "\n own: " << (client_state_.owning_thread_id_ == wsrep::this_thread::get_id())
<< " thread_id: " << client_state_.owning_thread_id_
<< "\n query: " << client_service_.query()
<< "");
}

View File

@ -76,8 +76,6 @@ namespace wsrep
, aborts_()
{ }
std::string query() const WSREP_OVERRIDE { return ""; }
int bf_rollback() WSREP_OVERRIDE;
bool interrupted(wsrep::unique_lock<wsrep::mutex>&)