mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-30 07:23:07 +03:00
codership/wsrep-lib#44 Provider name, version and vendor getters
Added methods to get provider name, version and vendor strings into wsrep::provider interface. Implementations for v26 and mock providers.
This commit is contained in:
@ -248,6 +248,9 @@ namespace wsrep
|
||||
std::string options() const { return ""; }
|
||||
enum wsrep::provider::status options(const std::string&)
|
||||
{ return wsrep::provider::success; }
|
||||
std::string name() const WSREP_OVERRIDE { return "mock"; }
|
||||
std::string version() const WSREP_OVERRIDE { return "0.0"; }
|
||||
std::string vendor() const WSREP_OVERRIDE { return "mock"; }
|
||||
void* native() const { return 0; }
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user