Initialize thread as well in test_trxcompare

This commit is contained in:
Johan Wikman
2017-11-10 14:28:52 +02:00
committed by MassimilianoPinto
parent e377b30803
commit c6b78da9e8

View File

@ -184,7 +184,9 @@ int main(int argc, char* argv[])
if (mxs_log_init(NULL, ".", MXS_LOG_TARGET_DEFAULT)) if (mxs_log_init(NULL, ".", MXS_LOG_TARGET_DEFAULT))
{ {
// We have to setup something in order for the regexes to be compiled. // 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); Tester tester(verbosity);