diff --git a/bin/pt-mysql-summary b/bin/pt-mysql-summary index 60676c80..ef1b7e77 100755 --- a/bin/pt-mysql-summary +++ b/bin/pt-mysql-summary @@ -1568,7 +1568,6 @@ format_overall_db_stats () { [ -e "$file" ] || return - echo awk ' BEGIN { db = "{chosen}"; @@ -1839,7 +1838,6 @@ format_overall_db_stats () { local hdr=$(grep -n Database "$tmpfile" | cut -d: -f1); head -n${hdr} "$tmpfile" tail -n +$((${hdr} + 1)) "$tmpfile" | sort - echo } section_percona_server_features () { diff --git a/lib/bash/report_mysql_info.sh b/lib/bash/report_mysql_info.sh index 6c7664eb..b2e91577 100644 --- a/lib/bash/report_mysql_info.sh +++ b/lib/bash/report_mysql_info.sh @@ -575,7 +575,6 @@ format_overall_db_stats () { [ -e "$file" ] || return - echo # We keep counts of everything in an associative array keyed by db name, and # what it is. The num_dbs counter is to ensure sort order is consistent when # we run the awk commands following this one. @@ -861,7 +860,6 @@ format_overall_db_stats () { local hdr=$(grep -n Database "$tmpfile" | cut -d: -f1); head -n${hdr} "$tmpfile" tail -n +$((${hdr} + 1)) "$tmpfile" | sort - echo } section_percona_server_features () {