mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-07-21 12:22:06 +03:00
Provide logger callback for wsrep_load
This commit is contained in:
@ -639,7 +639,7 @@ wsrep::wsrep_provider_v26::wsrep_provider_v26(
|
|||||||
init_args.sst_donate_cb = &sst_donate_cb;
|
init_args.sst_donate_cb = &sst_donate_cb;
|
||||||
init_args.synced_cb = &synced_cb;
|
init_args.synced_cb = &synced_cb;
|
||||||
|
|
||||||
if (wsrep_load(provider_spec.c_str(), &wsrep_, 0))
|
if (wsrep_load(provider_spec.c_str(), &wsrep_, logger_cb))
|
||||||
{
|
{
|
||||||
throw wsrep::runtime_error("Failed to load wsrep library");
|
throw wsrep::runtime_error("Failed to load wsrep library");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user