Merge pull request #525 from grooverdan/qc

query_cache off with query_cache_type=OFF OR query_cache_size=0
This commit is contained in:
Jean-Marie Renouard 2021-01-27 21:28:18 +01:00 committed by GitHub
commit 8fb9195c4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.";