From 5b9ecef04c6ae1540ea90099c01474bd586ed63f Mon Sep 17 00:00:00 2001 From: Fernando Ipar Date: Tue, 10 Oct 2017 10:50:26 -0300 Subject: [PATCH] printing the ndb section --- bin/pt-mysql-summary | 5 +++++ lib/bash/report_mysql_info.sh | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/bin/pt-mysql-summary b/bin/pt-mysql-summary index b165e805..f4230f7d 100755 --- a/bin/pt-mysql-summary +++ b/bin/pt-mysql-summary @@ -2362,6 +2362,11 @@ report_mysql_summary () { fi fi + if [ -s "$dir/ndb-status" ]; then + section "NDB" + format_ndb_status "$dir/ndb-status" + fi + section "MyISAM" section_myisam "$dir/mysql-variables" "$dir/mysql-status" diff --git a/lib/bash/report_mysql_info.sh b/lib/bash/report_mysql_info.sh index 9bb6dfb6..0a6eb72c 100644 --- a/lib/bash/report_mysql_info.sh +++ b/lib/bash/report_mysql_info.sh @@ -1418,6 +1418,14 @@ report_mysql_summary () { fi fi + # ######################################################################## + # NDB + # ######################################################################## + if [ -s "$dir/ndb-status" ]; then + section "NDB" + format_ndb_status "$dir/ndb-status" + fi + # ######################################################################## # MyISAM # ########################################################################