Wrong report of InnoDB Storage engine status #450
Good message is -------- InnoDB Metrics ---------------------------------------------------------------------------- [--] Skipped due to --skipsize option
This commit is contained in:
parent
25c0020924
commit
7332f8d5c4
1 changed files with 5 additions and 2 deletions
|
@ -2090,12 +2090,11 @@ sub check_architecture {
|
||||||
my ( %enginestats, %enginecount, $fragtables );
|
my ( %enginestats, %enginecount, $fragtables );
|
||||||
|
|
||||||
sub check_storage_engines {
|
sub check_storage_engines {
|
||||||
if ( $opt{skipsize} eq 1 ) {
|
|
||||||
subheaderprint "Storage Engine Statistics";
|
subheaderprint "Storage Engine Statistics";
|
||||||
|
if ( $opt{skipsize} eq 1 ) {
|
||||||
infoprint "Skipped due to --skipsize option";
|
infoprint "Skipped due to --skipsize option";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
subheaderprint "Storage Engine Statistics";
|
|
||||||
|
|
||||||
my $engines;
|
my $engines;
|
||||||
if ( mysql_version_ge( 5, 5 ) ) {
|
if ( mysql_version_ge( 5, 5 ) ) {
|
||||||
|
@ -5511,6 +5510,10 @@ sub mysql_innodb {
|
||||||
&& $myvar{'have_innodb'} eq "YES"
|
&& $myvar{'have_innodb'} eq "YES"
|
||||||
&& defined $enginestats{'InnoDB'} )
|
&& defined $enginestats{'InnoDB'} )
|
||||||
{
|
{
|
||||||
|
if ( $opt{skipsize} eq 1 ) {
|
||||||
|
infoprint "Skipped due to --skipsize option";
|
||||||
|
return;
|
||||||
|
}
|
||||||
infoprint "InnoDB is disabled.";
|
infoprint "InnoDB is disabled.";
|
||||||
if ( mysql_version_ge( 5, 5 ) ) {
|
if ( mysql_version_ge( 5, 5 ) ) {
|
||||||
badprint
|
badprint
|
||||||
|
|
Loading…
Reference in a new issue