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);