Skip to content

Commit

Permalink
fix byte overflow (#729)
Browse files Browse the repository at this point in the history
Signed-off-by: shiyuhang <1136742008@qq.com>
Co-authored-by: shiyuhang <1136742008@qq.com>
  • Loading branch information
ti-chi-bot and shiyuhang0 committed Mar 7, 2023
1 parent 287317f commit a09b06d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/tikv/common/codec/RowV2.java
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ private int binarySearch(int i, int j, long colID) {
if (this.large) {
v = this.colIDs32[h];
} else {
v = this.colIDs[h];
v = this.colIDs[h] & 0xFF;
}
if (v < colID) {
i = h + 1;
Expand Down

0 comments on commit a09b06d

Please sign in to comment.