mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 13:40:07 +00:00
Remove blank lines around Schema section contents.
This commit is contained in:
@@ -1568,7 +1568,6 @@ format_overall_db_stats () {
|
|||||||
|
|
||||||
[ -e "$file" ] || return
|
[ -e "$file" ] || return
|
||||||
|
|
||||||
echo
|
|
||||||
awk '
|
awk '
|
||||||
BEGIN {
|
BEGIN {
|
||||||
db = "{chosen}";
|
db = "{chosen}";
|
||||||
@@ -1839,7 +1838,6 @@ format_overall_db_stats () {
|
|||||||
local hdr=$(grep -n Database "$tmpfile" | cut -d: -f1);
|
local hdr=$(grep -n Database "$tmpfile" | cut -d: -f1);
|
||||||
head -n${hdr} "$tmpfile"
|
head -n${hdr} "$tmpfile"
|
||||||
tail -n +$((${hdr} + 1)) "$tmpfile" | sort
|
tail -n +$((${hdr} + 1)) "$tmpfile" | sort
|
||||||
echo
|
|
||||||
}
|
}
|
||||||
|
|
||||||
section_percona_server_features () {
|
section_percona_server_features () {
|
||||||
|
@@ -575,7 +575,6 @@ format_overall_db_stats () {
|
|||||||
|
|
||||||
[ -e "$file" ] || return
|
[ -e "$file" ] || return
|
||||||
|
|
||||||
echo
|
|
||||||
# We keep counts of everything in an associative array keyed by db name, and
|
# 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
|
# what it is. The num_dbs counter is to ensure sort order is consistent when
|
||||||
# we run the awk commands following this one.
|
# 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);
|
local hdr=$(grep -n Database "$tmpfile" | cut -d: -f1);
|
||||||
head -n${hdr} "$tmpfile"
|
head -n${hdr} "$tmpfile"
|
||||||
tail -n +$((${hdr} + 1)) "$tmpfile" | sort
|
tail -n +$((${hdr} + 1)) "$tmpfile" | sort
|
||||||
echo
|
|
||||||
}
|
}
|
||||||
|
|
||||||
section_percona_server_features () {
|
section_percona_server_features () {
|
||||||
|
Reference in New Issue
Block a user