Remove MySQL arguments from qc_init.

There can be any sort of library behind qc_init. Hence the arguments
cannot be hardwired to be like the embedded library wants them.

Eventually it might make sense to allow passing arguments from
maxscale.cnf.
This commit is contained in:
Johan Wikman
2016-02-01 15:53:34 +02:00
parent fc6f49fe8a
commit 21b415eec0
4 changed files with 122 additions and 24 deletions

View File

@ -1829,7 +1829,7 @@ int main(int argc, char **argv)
}
}
if (!qc_init(num_elements, server_options, server_groups))
if (!qc_init())
{
char* logerr = "Failed to initialise query classifier library.";
print_log_n_stderr(true, true, logerr, logerr, eno);