#377 adding 0 as query cache efficiency for MySQL 8
This commit is contained in:
parent
9cf4dd4453
commit
a43032b863
1 changed files with 3 additions and 1 deletions
|
@ -2484,7 +2484,9 @@ sub calculations {
|
|||
}
|
||||
|
||||
# Query cache
|
||||
if ( mysql_version_ge(4) ) {
|
||||
if ( mysql_version_ge(8) and mysql_version_le(10) ) {
|
||||
$mycalc{'query_cache_efficiency'} = 0;
|
||||
} elsif ( mysql_version_ge(4) ) {
|
||||
$mycalc{'query_cache_efficiency'} = sprintf(
|
||||
"%.1f",
|
||||
(
|
||||
|
|
Loading…
Reference in a new issue