Fix testbinlogrouter
The test used service credentials directly instead of copying them.
This commit is contained in:
@ -129,8 +129,8 @@ int main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
inst->service = service;
|
inst->service = service;
|
||||||
inst->user = service->credentials.name;
|
inst->user = MXS_STRDUP_A(service->credentials.name);
|
||||||
inst->password = service->credentials.authdata;
|
inst->password = MXS_STRDUP_A(service->credentials.authdata);
|
||||||
|
|
||||||
MXS_NOTICE("testbinlog v1.0");
|
MXS_NOTICE("testbinlog v1.0");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user