From 81853d8d6b85cc26f5bff05f804be8d303f57906 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Fri, 17 Aug 2018 14:27:04 +0300 Subject: [PATCH] Fix binlogrouter unit test The test called mxs_log_finish multiple times. --- server/modules/routing/binlogrouter/test/testbinlog.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/modules/routing/binlogrouter/test/testbinlog.cc b/server/modules/routing/binlogrouter/test/testbinlog.cc index fc4fa303a..1cca5674c 100644 --- a/server/modules/routing/binlogrouter/test/testbinlog.cc +++ b/server/modules/routing/binlogrouter/test/testbinlog.cc @@ -163,8 +163,6 @@ int main(int argc, char **argv) inst = static_cast(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);