From c6b78da9e8cf6bdb8ac26edd0b1a809b5f627696 Mon Sep 17 00:00:00 2001 From: Johan Wikman Date: Fri, 10 Nov 2017 14:28:52 +0200 Subject: [PATCH] Initialize thread as well in test_trxcompare --- server/core/test/test_trxcompare.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/core/test/test_trxcompare.cc b/server/core/test/test_trxcompare.cc index d1cd184f1..cc74b2fe4 100644 --- a/server/core/test/test_trxcompare.cc +++ b/server/core/test/test_trxcompare.cc @@ -184,7 +184,9 @@ int main(int argc, char* argv[]) if (mxs_log_init(NULL, ".", MXS_LOG_TARGET_DEFAULT)) { // We have to setup something in order for the regexes to be compiled. - if (qc_setup("qc_sqlite", QC_SQL_MODE_DEFAULT, NULL) && qc_process_init(QC_INIT_BOTH)) + if (qc_setup("qc_sqlite", QC_SQL_MODE_DEFAULT, NULL) && + qc_process_init(QC_INIT_BOTH) && + qc_thread_init(QC_INIT_BOTH)) { Tester tester(verbosity);