1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-05 03:41:13 +03:00

Fixup to previous commit. Since dbsim implies that logger function is

static and global, it cannot use the reporter object, which must be a
non-static member of server class.
This commit is contained in:
Alexey Yurchenko
2021-09-11 22:50:20 +03:00
parent 7d6641764b
commit efb4aab090
3 changed files with 9 additions and 30 deletions

View File

@ -137,8 +137,7 @@ void db::simulator::start()
std::make_unique<db::server>(
*this,
name_os.str(),
address_os.str(),
name_os.str() + "_" + params_.status_file))));
address_os.str()))));
if (it.second == false)
{
throw wsrep::runtime_error("Failed to add server");