Skip to content

Commit

Permalink
Merge pull request #525 from grooverdan/qc
Browse files Browse the repository at this point in the history
query_cache off with query_cache_type=OFF OR query_cache_size=0
  • Loading branch information
jmrenouard committed Jan 27, 2021
2 parents 3a7bf40 + 3ac95cd commit 8fb9195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mysqltuner.pl
Original file line number Diff line number Diff line change
Expand Up @@ -2988,7 +2988,7 @@ sub mysql_stats {
#return;
}
elsif ( $myvar{'query_cache_size'} < 1
and $myvar{'query_cache_type'} eq "OFF" )
or $myvar{'query_cache_type'} eq "OFF" )
{
goodprint
"Query cache is disabled by default due to mutex contention on multiprocessor machines.";
Expand Down

0 comments on commit 8fb9195

Please sign in to comment.