mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-28 20:02:00 +03:00
Remove dead code
This commit is contained in:
@ -180,15 +180,6 @@ namespace wsrep
|
||||
*/
|
||||
virtual void debug_crash(const char* crash_point) = 0;
|
||||
};
|
||||
|
||||
/**
|
||||
* Debug callback methods. These methods are called only in
|
||||
* builds that have WITH_DEBUG defined.
|
||||
*/
|
||||
class client_debug_callback
|
||||
{
|
||||
public:
|
||||
};
|
||||
}
|
||||
|
||||
#endif // WSREP_CLIENT_SERVICE_HPP
|
||||
|
@ -987,7 +987,6 @@ namespace wsrep
|
||||
|
||||
friend class client_state_switch;
|
||||
friend class high_priority_context;
|
||||
friend class client_toi_mode;
|
||||
friend class transaction;
|
||||
|
||||
void do_acquire_ownership(wsrep::unique_lock<wsrep::mutex>& lock);
|
||||
@ -1122,31 +1121,6 @@ namespace wsrep
|
||||
wsrep::client_state& client_;
|
||||
enum wsrep::client_state::mode orig_mode_;
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
class client_toi_mode
|
||||
{
|
||||
public:
|
||||
client_toi_mode(wsrep::client_state& client)
|
||||
: client_(client)
|
||||
, orig_mode_(client.mode_)
|
||||
{
|
||||
wsrep::unique_lock<wsrep::mutex> lock(client.mutex_);
|
||||
client.mode(lock, wsrep::client_state::m_toi);
|
||||
}
|
||||
~client_toi_mode()
|
||||
{
|
||||
wsrep::unique_lock<wsrep::mutex> lock(client_.mutex_);
|
||||
assert(client_.mode() == wsrep::client_state::m_toi);
|
||||
client_.mode(lock, orig_mode_);
|
||||
}
|
||||
private:
|
||||
wsrep::client_state& client_;
|
||||
enum wsrep::client_state::mode orig_mode_;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // WSREP_CLIENT_STATE_HPP
|
||||
|
@ -1,31 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2018 Codership Oy <info@codership.com>
|
||||
*
|
||||
* This file is part of wsrep-lib.
|
||||
*
|
||||
* Wsrep-lib is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Wsrep-lib is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with wsrep-lib. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WSREP_APPLIER_HPP
|
||||
#define WSREP_APPLIER_HPP
|
||||
|
||||
namespace wsrep
|
||||
{
|
||||
class applier
|
||||
{
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
#endif // WSREP_APPLIER_HPP
|
Reference in New Issue
Block a user