Skip to content

Commit 9d79e94

Browse files
committed
Replay a change in dummy_options_get() from mysql-wsrep-bugs/5.6-v25
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).
1 parent d7da800 commit 9d79e94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wsrep_dummy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ static wsrep_status_t dummy_options_set(
8686
static char* dummy_options_get (wsrep_t* w)
8787
{
8888
WSREP_DBUG_ENTER(w);
89-
return WSREP_DUMMY(w)->options;
89+
return strdup(WSREP_DUMMY(w)->options);
9090
}
9191

9292
static wsrep_status_t dummy_connect(

0 commit comments

Comments
 (0)