1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-06-16 02:01:44 +03:00

Provider abstraction code compiles.

This commit is contained in:
Teemu Ollakka
2018-06-10 12:46:42 +03:00
parent e74b214c9c
commit ca615fcbd8
11 changed files with 324 additions and 83 deletions

View File

@ -27,11 +27,13 @@ wsrep::id::id(const std::string& str)
type_ = string;
std::memcpy(data_, str.c_str(), str.size());
}
std::ostringstream os;
os << "String '" << str << "' does not contain UUID";
throw wsrep::runtime_error(os.str());
else
{
std::ostringstream os;
os << "String '" << str << "' does not contain UUID";
throw wsrep::runtime_error(os.str());
}
}
wsrep::provider* wsrep::provider::make_provider(
const std::string&)
{