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 9, 2023
1 parent 88d9e1b commit b63f34c
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 b63f34c

Please sign in to comment.