Skip to content

Commit de2ec58

Browse files
committed
Fix issue with error not being returned
1 parent 9accafb commit de2ec58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

replication/event.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ func (e *PreviousGTIDsEvent) Decode(data []byte) error {
238238
if len(data) == 8 {
239239
return nil
240240
}
241-
fmt.Errorf("uuidCount %d doesn't match data length %d", uuidCount, len(data))
241+
return fmt.Errorf("uuidCount %d doesn't match data length %d", uuidCount, len(data))
242242
}
243243

244244
previousGTIDSets := make([]string, uuidCount)

0 commit comments

Comments
 (0)