Skip to content

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
yyongycy committed Nov 20, 2023
1 parent 7ace2a7 commit f3558b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public int get(PageId pageId, int pageOffset, int bytesToRead, ReadTargetBuffer
ret = LIB_RAW_DEVICE_STORE.getPage(pageId.getFileId(), pageId.getPageIndex(),
pageOffset, bytesToRead, buffer.byteBuffer(), cur, false);
if (ret >= 0) {
buffer.byteBuffer().limit(ret + cur);
buffer.byteBuffer().position(ret + cur);
}
}
LOG.debug("Read {} from raw device store, pageOffset {}, bytesToRead {}, return size is {}",
Expand Down

0 comments on commit f3558b2

Please sign in to comment.