Skip to content

Commit

Permalink
fix: issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizic committed Mar 19, 2024
1 parent b6c9947 commit bf7a840
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/app/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ package app

import (
"fmt"
mysql2 "github.com/go-mysql-org/go-mysql/mysql"
"github.com/google/uuid"
"time"

gomysql "github.com/go-mysql-org/go-mysql/mysql"
"github.com/google/uuid"
"github.com/yandex/mysync/internal/log"
"github.com/yandex/mysync/internal/mysql"
"github.com/yandex/mysync/internal/mysql/gtids"
Expand Down Expand Up @@ -235,7 +235,7 @@ func isGTIDLessOrEqual(slaveGtidSet, masterGtidSet gtids.GTIDSet) bool {
return masterGtidSet.Contain(slaveGtidSet) || masterGtidSet.Equal(slaveGtidSet)
}

func isSplitBrained(slaveGtidSet, masterGtidSet *mysql2.MysqlGTIDSet, masterUUID uuid.UUID) bool {
func isSplitBrained(slaveGtidSet, masterGtidSet *gomysql.MysqlGTIDSet, masterUUID uuid.UUID) bool {
for _, MasterSet := range masterGtidSet.Sets {
slaveSet, ok := slaveGtidSet.Sets[MasterSet.SID.String()]
if !ok {
Expand Down

0 comments on commit bf7a840

Please sign in to comment.