Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed an issue with NULL storage engines appearing on some servers.

  • Loading branch information...
commit e328934a19435a332be0ac9a2f69925ac4e0bdac 1 parent c8c2dd9
@major authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  mysqltuner.pl
View
1  mysqltuner.pl
@@ -419,6 +419,7 @@ sub check_storage_engines {
foreach my $line (@templist) {
my ($engine,$size,$count);
($engine,$size,$count) = $line =~ /([a-zA-Z_]*)\s+(\d+)\s+(\d+)/;
+ if (!defined($size)) { next; }
$enginestats{$engine} = $size;
$enginecount{$engine} = $count;
}
Please sign in to comment.
Something went wrong with that request. Please try again.