Skip to content

Commit 94ab613

Browse files
committed
ci print debug
I'm suspecting compiler bug at this point
1 parent 8fc3393 commit 94ab613

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

replication/row_event.go

+5
Original file line numberDiff line numberDiff line change
@@ -1154,9 +1154,14 @@ 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) {
1160+
fmt.Println("??", byte((1<<int(e.ColumnCount)-col)-1), bits.OnesCount8(bitmap[col>>3]&byte((1<<int(e.ColumnCount)-col)-1)))
11581161
count += bits.OnesCount8(bitmap[col>>3] & byte((1<<int(e.ColumnCount)-col)-1))
11591162
}
1163+
fmt.Println(e.ColumnCount, count, col, len(bitmap), int(e.ColumnCount)-count)
1164+
fmt.Println()
11601165
skips := make([]int, 0, int(e.ColumnCount)-count)
11611166
count = bitmapByteSize(count)
11621167

0 commit comments

Comments
 (0)