Skip to content

Commit fcda146

Browse files
author
Shlomi Noach
committed
go-mysql library to avoid printing password in cleartext
1 parent 83416fb commit fcda146

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
@@ -41,7 +41,7 @@ func NewGoMySQLReader(connectionConfig *mysql.ConnectionConfig) (binlogReader *G
4141

4242
serverId := uint32(binlogReader.MigrationContext.ReplicaServerId)
4343

44-
binlogSyncerConfig := &replication.BinlogSyncerConfig{
44+
binlogSyncerConfig := replication.BinlogSyncerConfig{
4545
ServerID: serverId,
4646
Flavor: "mysql",
4747
Host: 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)