Skip to content

Commit ce4e42d

Browse files
author
Shlomi Noach
authored
Merge pull request #536 from github/go-mysql-ignore-pass
go-mysql library to avoid printing password in cleartext
2 parents f0c3028 + a01e363 commit ce4e42d

6 files changed

Lines changed: 30 additions & 25 deletions

File tree

go/binlog/gomysql_reader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func NewGoMySQLReader(migrationContext *base.MigrationContext) (binlogReader *Go
3939

4040
serverId := uint32(migrationContext.ReplicaServerId)
4141

42-
binlogSyncerConfig := &replication.BinlogSyncerConfig{
42+
binlogSyncerConfig := replication.BinlogSyncerConfig{
4343
ServerID: serverId,
4444
Flavor: "mysql",
4545
Host: binlogReader.connectionConfig.Key.Hostname,

vendor/github.com/siddontang/go-mysql/README.md

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/siddontang/go-mysql/canal/canal.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/siddontang/go-mysql/cmd/go-mysqlbinlog/main.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/siddontang/go-mysql/replication/binlogsyncer.go

Lines changed: 7 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/siddontang/go-mysql/replication/replication_test.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)