mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +03:00
Removed dead code
This commit is contained in:
@ -60,10 +60,6 @@ namespace wsrep
|
||||
, aborts_()
|
||||
{ }
|
||||
|
||||
int apply_write_set(const wsrep::const_buffer&);
|
||||
|
||||
int apply_toi(const wsrep::const_buffer&);
|
||||
|
||||
int bf_rollback() WSREP_OVERRIDE;
|
||||
|
||||
bool do_2pc() const WSREP_OVERRIDE
|
||||
@ -75,10 +71,6 @@ namespace wsrep
|
||||
|
||||
void emergency_shutdown() WSREP_OVERRIDE { ++aborts_; }
|
||||
|
||||
int append_fragment(const wsrep::transaction&,
|
||||
int,
|
||||
const wsrep::const_buffer&)
|
||||
{ return 0; }
|
||||
int remove_fragments() WSREP_OVERRIDE { return 0; }
|
||||
void will_replay() WSREP_OVERRIDE { }
|
||||
|
||||
|
@ -5,14 +5,6 @@
|
||||
#include "mock_high_priority_service.hpp"
|
||||
#include "mock_server_state.hpp"
|
||||
|
||||
int wsrep::mock_high_priority_service::apply(
|
||||
const wsrep::ws_handle& ws_handle,
|
||||
const wsrep::ws_meta& ws_meta,
|
||||
const wsrep::const_buffer& data)
|
||||
{
|
||||
return server_state_.on_apply(*this, ws_handle, ws_meta, data);
|
||||
}
|
||||
|
||||
int wsrep::mock_high_priority_service::start_transaction(
|
||||
const wsrep::ws_handle& ws_handle, const wsrep::ws_meta& ws_meta)
|
||||
{
|
||||
|
@ -24,10 +24,6 @@ namespace wsrep
|
||||
, replaying_(replaying)
|
||||
{ }
|
||||
|
||||
int apply(const wsrep::ws_handle&,
|
||||
const wsrep::ws_meta&,
|
||||
const wsrep::const_buffer&);
|
||||
|
||||
int start_transaction(const wsrep::ws_handle&, const wsrep::ws_meta&)
|
||||
WSREP_OVERRIDE;
|
||||
|
||||
|
Reference in New Issue
Block a user