Skip to content

Commit

Permalink
Update listpack.go (#769)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancoZhangVip committed Feb 19, 2024
1 parent 9527b04 commit 0cf0af0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/rdb/structure/listpack.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func readListpackEntry(rd io.Reader) string {
uval = uint64(ReadUint16(rd))
negstart = uint64(1) << 15
negmax = 65535 // uint16_max
_ = ReadBytes(rd, lpEncodeBacklen(2)) // encode: 1byte, int: 2byte
_ = ReadBytes(rd, lpEncodeBacklen(1+2)) // encode: 1byte, int: 2byte

} else if (fireByte & lpEncoding24BitIntMask) == lpEncoding24BitInt { // 24bit int

Expand Down

0 comments on commit 0cf0af0

Please sign in to comment.