MXS-1624 Update qc_setup() prototype

Now takes a structure that, if present, enables the query
classification caching and specifies the properties of the
cache.

For the time being no actual properties are yet available.
This commit is contained in:
Johan Wikman
2018-07-06 10:46:42 +03:00
parent b7c5abf73b
commit e7913cc022
15 changed files with 29 additions and 16 deletions

View File

@ -42,7 +42,7 @@ void init_test_env(char *path)
}
dcb_global_init();
set_libdir(MXS_STRDUP(TEST_DIR "/query_classifier/qc_sqlite/"));
qc_setup(NULL, QC_SQL_MODE_DEFAULT, NULL);
qc_setup(NULL, QC_SQL_MODE_DEFAULT, NULL, NULL);
qc_process_init(QC_INIT_BOTH);
poll_init();
maxscale::MessageQueue::init();