Comment 1 for bug 1296736

Revision history for this message
Jorge Niedbalski (niedbalski) wrote :

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.