Merge pull request #283 from mrqwer88/innodb_file_per_table_check
fix check innodb_file_per_table with skip-innodb
This commit is contained in:
commit
791633c3ab
1 changed files with 3 additions and 1 deletions
|
@ -1991,7 +1991,9 @@ sub check_storage_engines {
|
|||
$result{'Engine'}{$engine}{'Index Size'} = $isize;
|
||||
}
|
||||
my $not_innodb = '';
|
||||
if ( $result{'Variables'}{'innodb_file_per_table'} eq 'OFF' ) {
|
||||
if ( not defined $result{'Variables'}{'innodb_file_per_table'} ) {
|
||||
$not_innodb = "AND NOT ENGINE='InnoDB'";
|
||||
} elsif ( $result{'Variables'}{'innodb_file_per_table'} eq 'OFF' ) {
|
||||
$not_innodb = "AND NOT ENGINE='InnoDB'";
|
||||
}
|
||||
$result{'Tables'}{'Fragmented tables'} =
|
||||
|
|
Loading…
Reference in a new issue