MXS-2457 Streamline logging

This commit is contained in:
Johan Wikman
2019-05-03 10:49:03 +03:00
parent 279edce16e
commit a3cf1d22c0
3 changed files with 14 additions and 21 deletions

View File

@ -1321,6 +1321,11 @@ bool qc_set_cache_properties(const QC_CACHE_PROPERTIES* properties)
if (properties->max_size >= 0)
{
if (properties->max_size == 0)
{
MXS_NOTICE("Query classifier cache disabled.");
}
this_unit.set_cache_max_size(properties->max_size);
rv = true;
}