Initialize thread as well in test_trxtracking

This commit is contained in:
Johan Wikman
2017-11-10 14:43:26 +02:00
committed by MassimilianoPinto
parent a334ce61b5
commit e586d84c47

View File

@ -421,7 +421,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))
{
rc = EXIT_SUCCESS;