Skip to content

Commit 4b4cdc2

Browse files
committed
fix CI
1 parent 707c3e0 commit 4b4cdc2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

mysql/mysql_gtid.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ func (s *UUIDSet) Decode(data []byte) error {
294294
func (s *UUIDSet) Clone() *UUIDSet {
295295
clone := new(UUIDSet)
296296

297-
copy(clone.SID[:], s.SID.Bytes())
297+
copy(clone.SID[:], s.SID[:])
298298
clone.Intervals = s.Intervals.Normalize()
299299

300300
return clone

mysql/mysql_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -222,5 +222,4 @@ func (t *mysqlTestSuite) TestMysqlUUIDClone(c *check.C) {
222222

223223
clone := us.Clone()
224224
c.Assert(clone.String(), check.Equals, "de278ad0-2106-11e4-9f8e-6edd0ca20947:1-2")
225-
226225
}

0 commit comments

Comments
 (0)