Skip to content

Commit 8fb9195

Browse files
authored
Merge pull request #525 from grooverdan/qc
query_cache off with query_cache_type=OFF OR query_cache_size=0
2 parents 3a7bf40 + 3ac95cd commit 8fb9195

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mysqltuner.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -2988,7 +2988,7 @@ sub mysql_stats {
29882988
#return;
29892989
}
29902990
elsif ( $myvar{'query_cache_size'} < 1
2991-
and $myvar{'query_cache_type'} eq "OFF" )
2991+
or $myvar{'query_cache_type'} eq "OFF" )
29922992
{
29932993
goodprint
29942994
"Query cache is disabled by default due to mutex contention on multiprocessor machines.";

0 commit comments

Comments
 (0)