mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 21:19:59 +00:00
PT-1543 Added --list-encrypted-table to pt-mysql-summary
This commit is contained in:
@@ -2509,7 +2509,10 @@ report_mysql_summary () {
|
|||||||
|
|
||||||
section "Encryption"
|
section "Encryption"
|
||||||
local keyring_plugins="$(collect_keyring_plugins)"
|
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_keyring_plugins "$keyring_plugins" "$encrypted_tables"
|
||||||
format_encrypted_tables "$encrypted_tables"
|
format_encrypted_tables "$encrypted_tables"
|
||||||
@@ -3132,6 +3135,13 @@ short form: -h; type: string
|
|||||||
|
|
||||||
Host to connect to.
|
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
|
=item --password
|
||||||
|
|
||||||
short form: -p; type: string
|
short form: -p; type: string
|
||||||
|
@@ -1567,7 +1567,10 @@ report_mysql_summary () {
|
|||||||
|
|
||||||
section "Encryption"
|
section "Encryption"
|
||||||
local keyring_plugins="$(collect_keyring_plugins)"
|
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_keyring_plugins "$keyring_plugins" "$encrypted_tables"
|
||||||
format_encrypted_tables "$encrypted_tables"
|
format_encrypted_tables "$encrypted_tables"
|
||||||
|
Reference in New Issue
Block a user