Skip to content

Commit 84c5e8e

Browse files
krajciklance6716
andauthored
Reset position variable in row_event.go to ensure correct event handling (#1049)
Co-authored-by: lance6716 <[email protected]>
1 parent 28a2e74 commit 84c5e8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

replication/row_event.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,6 +1085,7 @@ func (e *RowsEvent) DecodeData(pos int, data []byte) (err2 error) {
10851085
//nolint:nakedret
10861086
return
10871087
}
1088+
pos = 0
10881089
}
10891090

10901091
// Rows_log_event::print_verbose()

0 commit comments

Comments
 (0)