Fix binlogrouter unit test
The test called mxs_log_finish multiple times.
This commit is contained in:
parent
f09afa2967
commit
81853d8d6b
@ -163,8 +163,6 @@ int main(int argc, char **argv)
|
||||
inst = static_cast<ROUTER_INSTANCE*>(MXS_CALLOC(1, sizeof(ROUTER_INSTANCE)));
|
||||
if (inst == NULL)
|
||||
{
|
||||
mxs_log_finish();
|
||||
|
||||
return 1;
|
||||
}
|
||||
const char* user;
|
||||
@ -884,7 +882,6 @@ int main(int argc, char **argv)
|
||||
return 1;
|
||||
}
|
||||
|
||||
mxs_log_finish();
|
||||
MXS_FREE(inst->user);
|
||||
MXS_FREE(inst->password);
|
||||
MXS_FREE(inst->fileroot);
|
||||
|
Loading…
x
Reference in New Issue
Block a user