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:
@ -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; }
|
||||
|
@ -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
|
||||
|
@ -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()
|
||||
<< "");
|
||||
}
|
||||
|
||||
|
@ -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>&)
|
||||
|
Reference in New Issue
Block a user