Skip to content

Commit ccaab3d

Browse files
committed
ci print debug
1 parent 8fc3393 commit ccaab3d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

replication/row_event.go

+4
Original file line numberDiff line numberDiff line change
@@ -1154,9 +1154,13 @@ func (e *RowsEvent) decodeImage(data []byte, bitmap []byte, rowImageType EnumRow
11541154
for ; col+8 <= int(e.ColumnCount); col += 8 {
11551155
count += bits.OnesCount8(bitmap[col>>3])
11561156
}
1157+
fmt.Println(bitmap)
1158+
fmt.Println(e.ColumnCount, count, col, len(bitmap), int(e.ColumnCount)-count)
11571159
if col < int(e.ColumnCount) {
11581160
count += bits.OnesCount8(bitmap[col>>3] & byte((1<<int(e.ColumnCount)-col)-1))
11591161
}
1162+
fmt.Println(e.ColumnCount, count, col, len(bitmap), int(e.ColumnCount)-count)
1163+
fmt.Println()
11601164
skips := make([]int, 0, int(e.ColumnCount)-count)
11611165
count = bitmapByteSize(count)
11621166

0 commit comments

Comments
 (0)