Fix for 903229: pt-mysql-summary incorrectly categorizes databases

This commit is contained in:
Brian Fraser fraserb@gmail.com
2012-08-24 20:18:36 -03:00
parent 1481494ef1
commit 548e01fddd
5 changed files with 1149 additions and 2 deletions

View File

@@ -621,7 +621,7 @@ format_overall_db_stats () {
dbs[0] = db;
}
engine=substr($2, index($2, "=") + 1);
if ( engine_seen[engine]++ == 0 ) {
if ( engine_seen[tolower(engine)]++ == 0 ) {
engines[num_engines] = engine;
num_engines++;
}