PT-1543 Added --list-encrypted-table to pt-mysql-summary

This commit is contained in:
Carlos Salguero
2018-04-24 14:49:33 -03:00
parent e3a7c8036d
commit a79299bb12
2 changed files with 15 additions and 2 deletions

View File

@@ -2509,7 +2509,10 @@ report_mysql_summary () {
section "Encryption"
local keyring_plugins="$(collect_keyring_plugins)"
local encrypted_tables="$(collect_encrypted_tables)"
local encrypted_tables=""
if [ ${OPT_LIST_ENCRYPTED_TABLES} == 'yes' ]; then
encrypted_tables="$(collect_encrypted_tables)"
fi
format_keyring_plugins "$keyring_plugins" "$encrypted_tables"
format_encrypted_tables "$encrypted_tables"
@@ -3132,6 +3135,13 @@ short form: -h; type: string
Host to connect to.
=item --list-encrypted-tables
default: false
Include a list of the encrypted tables in all databases. This can cause slowdowns since
querying Information Schema tables can be slow.
=item --password
short form: -p; type: string