Very small bugfix for MySQL 3.23 on line 408
This commit is contained in:
parent
b3fd62e953
commit
b267fc7636
1 changed files with 3 additions and 1 deletions
|
@ -405,7 +405,9 @@ sub mysql_stats {
|
|||
goodprint "Slow queries: $mycalc{'pct_slow_queries'}%\n";
|
||||
}
|
||||
if ($myvar{'long_query_time'} > 10) { push(@decvars,"long_query_time (<= 10)"); }
|
||||
if ($myvar{'log_slow_queries'} eq "OFF") { push(@generalrec,"Enable the slow query log to troubleshoot bad queries"); }
|
||||
if (defined($myvar{'log_slow_queries'})) {
|
||||
if ($myvar{'log_slow_queries'} eq "OFF") { push(@generalrec,"Enable the slow query log to troubleshoot bad queries"); }
|
||||
}
|
||||
|
||||
# Connections
|
||||
if ($mycalc{'pct_connections_used'} > 85) {
|
||||
|
|
Loading…
Reference in a new issue