mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-15 16:00:23 +00:00
Add back blank lines around Schema section contents. Use default vals for OPT_DATABASE, OPT_ALL_DATABASES, and OPT_READ_SAMPLE in report_mysql_info.sh to avoid errors in unit tests.
This commit is contained in:
@@ -1568,6 +1568,7 @@ format_overall_db_stats () {
|
||||
|
||||
[ -e "$file" ] || return
|
||||
|
||||
echo
|
||||
awk '
|
||||
BEGIN {
|
||||
db = "{chosen}";
|
||||
@@ -1838,6 +1839,7 @@ 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 () {
|
||||
@@ -2719,6 +2721,7 @@ the percentage of the cache in use and the hit-to-insert ratio. The latter two
|
||||
are fuzzy-rounded.
|
||||
|
||||
# Schema #####################################################
|
||||
|
||||
Database Tables Views SPs Trigs Funcs FKs Partn
|
||||
mysql 24
|
||||
performance_schema 17
|
||||
|
Reference in New Issue
Block a user