#156: Removing index stat dur to erronous information

This commit is contained in:
root 2016-02-24 19:57:55 +01:00
parent a477d5e14e
commit 09383daee8

View file

@ -2742,6 +2742,11 @@ sub mysql_indexes {
"Skip Index metrics from information schema missing in this version"; "Skip Index metrics from information schema missing in this version";
return; return;
} }
unless ( mysql_version_ge( 5, 6 ) ) {
infoprint
"Skip Index metrics from information schema due to erronous information provided in this version";
return;
}
my $selIdxReq = <<'ENDSQL'; my $selIdxReq = <<'ENDSQL';
SELECT SELECT
CONCAT(CONCAT(t.TABLE_SCHEMA, '.'),t.TABLE_NAME) AS 'table' CONCAT(CONCAT(t.TABLE_SCHEMA, '.'),t.TABLE_NAME) AS 'table'