Commit 1d821bad authored by Sachin Setiya's avatar Sachin Setiya

Fix sys_vars.wsrep_provider_options_basic test failure.

parent 5ca81212
......@@ -86,7 +86,8 @@ static wsrep_status_t dummy_options_set(
static char* dummy_options_get (wsrep_t* w)
{
WSREP_DBUG_ENTER(w);
return strdup(WSREP_DUMMY(w)->options);
char * opt= WSREP_DUMMY(w)->options;
return opt ? strdup(opt) : NULL;
}
static wsrep_status_t dummy_connect(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment