From 09383daee85dbc76cf27f70b3160186d831a33a9 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 24 Feb 2016 19:57:55 +0100 Subject: [PATCH] #156: Removing index stat dur to erronous information --- mysqltuner.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mysqltuner.pl b/mysqltuner.pl index 06167f0..aa243a4 100755 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -2742,6 +2742,11 @@ sub mysql_indexes { "Skip Index metrics from information schema missing in this version"; 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'; SELECT CONCAT(CONCAT(t.TABLE_SCHEMA, '.'),t.TABLE_NAME) AS 'table'