Skip to content

Commit 5c349ab

Browse files
committed
fix readCurrentBinlogCoordinates 8.4
1 parent fe8477b commit 5c349ab

File tree

7 files changed

+1
-214
lines changed

7 files changed

+1
-214
lines changed

go/logic/inspect.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,7 @@ func (this *Inspector) readChangelogState(hint string) (string, error) {
933933
// readCurrentBinlogCoordinates reads master status from hooked server
934934
func (this *Inspector) readCurrentBinlogCoordinates() (*mysql.BinlogCoordinates, error) {
935935
var coords *mysql.BinlogCoordinates
936-
query := `show /* gh-ost readCurrentBinlogCoordinates */ master status`
936+
query := fmt.Sprintf(`show /* gh-ost readCurrentBinlogCoordinates */ %s`, mysql.ReplicaTermFor(this.migrationContext.InspectorMySQLVersion, "master status"))
937937
foundMasterStatus := false
938938
err := sqlutils.QueryRowsMap(this.db, query, func(m sqlutils.RowMap) error {
939939
coords = &mysql.BinlogCoordinates{

vendor/golang.org/x/sync/LICENSE

Lines changed: 0 additions & 27 deletions
This file was deleted.

vendor/golang.org/x/sync/PATENTS

Lines changed: 0 additions & 22 deletions
This file was deleted.

vendor/golang.org/x/sync/errgroup/errgroup.go

Lines changed: 0 additions & 136 deletions
This file was deleted.

vendor/golang.org/x/sync/errgroup/go120.go

Lines changed: 0 additions & 13 deletions
This file was deleted.

vendor/golang.org/x/sync/errgroup/pre_go120.go

Lines changed: 0 additions & 14 deletions
This file was deleted.

vendor/modules.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,6 @@ golang.org/x/crypto/ssh/internal/bcrypt_pbkdf
259259
golang.org/x/net/context
260260
# golang.org/x/sync v0.11.0
261261
## explicit; go 1.18
262-
golang.org/x/sync/errgroup
263262
# golang.org/x/sys v0.30.0
264263
## explicit; go 1.18
265264
golang.org/x/sys/cpu

0 commit comments

Comments
 (0)