I proposed a merge request for the charm. If you pass a value <= 0 and your query_cache_type is specified as ( ON, DEMAND, ) then the query_cache_size will be calculated according to the dataset type otherwise the value '0' will be saved on the my.cnf configuration.
I proposed a merge request for the charm. If you pass a value <= 0 and your query_cache_type is specified as ( ON, DEMAND, ) then the query_cache_size will be calculated according to the dataset type otherwise the value '0' will be saved on the my.cnf configuration.
According to the official documentation ( http:// dev.mysql. com/doc/ refman/ 5.1/en/ server- system- variables. html#sysvar_ query_cache_ size ) the associated configuration value must be >= 0.
Tested on precise.