mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-20 19:04:59 +00:00
Remove trailing spaces (#665)
* Remove trailing spaces * PR-665 - Remove trailing spaces - Updated not stable test t/pt-online-schema-change/preserve_triggers.t - Updated utilities in bin directory * PR-665 - Remove trailing spaces - Fixed typos * PR-665 - Remove trailing spaces - Fixed typos --------- Co-authored-by: Sveta Smirnova <sveta.smirnova@percona.com>
This commit is contained in:
@@ -19,7 +19,7 @@ $(error GOPATH is not set)
|
||||
endif
|
||||
|
||||
ifeq (,$(wildcard ${GOPATH}/src))
|
||||
$(error Invalid GOPATH. There is no src dir in the GOPATH)
|
||||
$(error Invalid GOPATH. There is no src dir in the GOPATH)
|
||||
endif
|
||||
|
||||
ifeq ($(findstring ${GOPATH},${CUR_DIR}), )
|
||||
@@ -59,7 +59,7 @@ linux-amd64: prepare
|
||||
linux-amd64-tar: linux-amd64
|
||||
@tar cvzf ${BIN_DIR}/pt-secure-collect_linux_amd64.tar.gz -C ${BIN_DIR} pt-secure-collect
|
||||
|
||||
darwin-amd64:
|
||||
darwin-amd64:
|
||||
@echo "Building darwin/amd64 binaries in ${BIN_DIR}"
|
||||
@mkdir -p ${BIN_DIR}
|
||||
@GOOS=darwin GOARCH=amd64 go build -ldflags ${LDFLAGS} -o ${BIN_DIR}/pt-secure-collect *.go
|
||||
|
@@ -7,7 +7,7 @@ Collect, sanitize, pack and encrypt data. By default, this program will collect
|
||||
|
||||
Internal variables placeholders will be replaced with the corresponding flag values. For example, `$mysql-host` will be replaced with the values specified in the `--mysql-host` flag.
|
||||
|
||||
Usage:
|
||||
Usage:
|
||||
```
|
||||
pt-secure-collect [<flags>] <command> [<args> ...]
|
||||
```
|
||||
@@ -33,7 +33,7 @@ pt-secure-collect collect <flags>
|
||||
|Flag|Description|
|
||||
|-----|-----|
|
||||
|--bin-dir|Directory having the Percona Toolkit binaries (if they are not in PATH).|
|
||||
|--temp-dir|Temporary directory used for the data collection. Default: ${HOME}/data_collection\_{timestamp}|
|
||||
|--temp-dir|Temporary directory used for the data collection. Default: ${HOME}/data_collection\_{timestamp}|
|
||||
|--include-dir|Include this dir into the sanitized tar file|
|
||||
|--config-file|Path to the config file. Default: `~/.my.cnf`|
|
||||
|--mysql-host|MySQL host. Default: `127.0.0.1`|
|
||||
@@ -51,8 +51,8 @@ pt-secure-collect collect <flags>
|
||||
|--no-remove-temp-files|Do not remove temporary files.|
|
||||
|
||||
#### **Decrypt command**
|
||||
Decrypt an encrypted file. The password will be requested from the terminal.
|
||||
Usage:
|
||||
Decrypt an encrypted file. The password will be requested from the terminal.
|
||||
Usage:
|
||||
```
|
||||
pt-secure-collect decrypt [flags] <input file>
|
||||
```
|
||||
@@ -62,23 +62,23 @@ pt-secure-collect decrypt [flags] <input file>
|
||||
|
||||
|
||||
#### **Encrypt command**
|
||||
Encrypt a file. The password will be requested from the terminal.
|
||||
Usage:
|
||||
Encrypt a file. The password will be requested from the terminal.
|
||||
Usage:
|
||||
```
|
||||
pt-secure-collect encrypt [flags] <input file>
|
||||
```
|
||||
```
|
||||
|Flag|Description|
|
||||
|-----|------|
|
||||
|--outfile|Write the output to this file.<br>If omitted, the output file name will be the same as the input file, without the `.aes` extension|
|
||||
|
||||
|
||||
#### **Sanitize command**
|
||||
Replace queries in a file by their fingerprints and obfuscate hostnames.
|
||||
Replace queries in a file by their fingerprints and obfuscate hostnames.
|
||||
Usage:
|
||||
```
|
||||
pt-secure-collect sanitize [flags]
|
||||
```
|
||||
|
||||
|
||||
|Flag|Description|
|
||||
|-----|-----|
|
||||
|--input-file| Input file. If not specified, the input will be Stdin.|
|
||||
|
@@ -1,7 +1,7 @@
|
||||
*************************** 1. row ***************************
|
||||
Type: InnoDB
|
||||
Name:
|
||||
Status:
|
||||
Name:
|
||||
Status:
|
||||
=====================================
|
||||
180305 13:24:56 INNODB MONITOR OUTPUT
|
||||
=====================================
|
||||
|
@@ -1,7 +1,7 @@
|
||||
*************************** 1. row ***************************
|
||||
Type: InnoDB
|
||||
Name:
|
||||
Status:
|
||||
Name:
|
||||
Status:
|
||||
=====================================
|
||||
180305 13:25:26 INNODB MONITOR OUTPUT
|
||||
=====================================
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,7 @@
|
||||
*************************** 1. row ***************************
|
||||
Type: InnoDB
|
||||
Name:
|
||||
Status:
|
||||
Name:
|
||||
Status:
|
||||
=====================================
|
||||
180305 13:29:56 INNODB MONITOR OUTPUT
|
||||
=====================================
|
||||
|
@@ -1,7 +1,7 @@
|
||||
*************************** 1. row ***************************
|
||||
Type: InnoDB
|
||||
Name:
|
||||
Status:
|
||||
Name:
|
||||
Status:
|
||||
=====================================
|
||||
180305 13:30:26 INNODB MONITOR OUTPUT
|
||||
=====================================
|
||||
|
@@ -1,7 +1,7 @@
|
||||
*************************** 1. row ***************************
|
||||
Type: InnoDB
|
||||
Name:
|
||||
Status:
|
||||
Name:
|
||||
Status:
|
||||
=====================================
|
||||
180305 13:34:56 INNODB MONITOR OUTPUT
|
||||
=====================================
|
||||
|
@@ -1,7 +1,7 @@
|
||||
*************************** 1. row ***************************
|
||||
Type: InnoDB
|
||||
Name:
|
||||
Status:
|
||||
Name:
|
||||
Status:
|
||||
=====================================
|
||||
180305 13:35:26 INNODB MONITOR OUTPUT
|
||||
=====================================
|
||||
|
Reference in New Issue
Block a user