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