Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
peacewong committed Oct 4, 2023
1 parent 4ef786f commit 10898d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public byte[] readLine() {
byte[] rowBuffer = null;
try {
rowBuffer = new byte[rowLen];
len = StorageUtils.readBytes(inputStream, rowBuffer, READ_CACHE);
len = StorageUtils.readBytes(inputStream, rowBuffer, rowLen);
} catch (OutOfMemoryError error) {
logger.error("Result set read oom, read size {} Byte", rowLen);
throw new RuntimeException(error);
Expand Down

0 comments on commit 10898d1

Please sign in to comment.