Skip to content

Commit

Permalink
Replay a change in dummy_options_get() from mysql-wsrep-bugs/5.6-v25
Browse files Browse the repository at this point in the history
This change was made first in mysql-wsrep-bugs @ f5a6ab11102 and
later sneaked in the wsrep-API repository inside e8d1fe9 (but e8d1fe9
contains more changes, beyond API v25).
  • Loading branch information
vasild committed Jun 28, 2018
1 parent d7da800 commit 9d79e94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wsrep_dummy.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ static wsrep_status_t dummy_options_set(
static char* dummy_options_get (wsrep_t* w)
{
WSREP_DBUG_ENTER(w);
return WSREP_DUMMY(w)->options;
return strdup(WSREP_DUMMY(w)->options);
}

static wsrep_status_t dummy_connect(
Expand Down

0 comments on commit 9d79e94

Please sign in to comment.