Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: typo (#2058)
Yilong Li20d4b1a0a93f
diff --git a/plugin/db/mysql/restore.go b/plugin/db/mysql/restore.goindex 5483f75b3f..ba0782baf6 100644--- a/plugin/db/mysql/restore.go+++ b/plugin/db/mysql/restore.go@@ -537,7 +537,7 @@ func (driver *Driver) downloadBinlogFilesOnServer(ctx context.Context, binlogFil} else if fileLocal.Size != fileOnServer.Size {log.Debug("Deleting inconsistent local binlog file",zap.String("path", path),- zap.Int64("sizeLocal", fileOnServer.Size),+ zap.Int64("sizeLocal", fileLocal.Size),zap.Int64("sizeOnServer", fileOnServer.Size))if err := os.Remove(path); err != nil {log.Error("Failed to remove inconsistent local binlog file", zap.String("path", path), zap.Error(err))