Merge branch 'master' of https://github.com/jmrenouard/MySQLTuner-perl
This commit is contained in:
commit
de3903a43f
2 changed files with 3 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -13,3 +13,5 @@ reports_*
|
|||
golang/prog-*
|
||||
.vscode
|
||||
test_db/**
|
||||
result*
|
||||
result_*
|
|
@ -6192,7 +6192,7 @@ sub mysql_innodb {
|
|||
$mystat{'Innodb_log_waits_computed'} = 0;
|
||||
|
||||
if ( defined( $mystat{'Innodb_log_waits'} )
|
||||
and defined( $mystat{'Innodb_log_writes'} ) )
|
||||
and defined( $mystat{'Innodb_log_writes'} ) and $mystat{'Innodb_log_writes'} > 0.000001 )
|
||||
{
|
||||
$mystat{'Innodb_log_waits_computed'} =
|
||||
$mystat{'Innodb_log_waits'} / $mystat{'Innodb_log_writes'};
|
||||
|
|
Loading…
Reference in a new issue