We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c5789d commit d7af7d5Copy full SHA for d7af7d5
go.mod
@@ -15,3 +15,5 @@ require (
15
github.com/sirupsen/logrus v1.4.1 // indirect
16
golang.org/x/text v0.3.2 // indirect
17
)
18
+
19
+go 1.13
mysql/mysql_gtid.go
@@ -292,7 +292,7 @@ func (s *UUIDSet) Decode(data []byte) error {
292
func (s *UUIDSet) Clone() *UUIDSet {
293
clone := new(UUIDSet)
294
295
- clone.SID, _ = uuid.FromString(s.SID.String())
+ copy(clone.SID.Bytes(), s.SID.Bytes())
296
clone.Intervals = s.Intervals.Normalize()
297
298
return clone
0 commit comments