You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by xi...@apache.org on 2021/12/01 11:57:13 UTC
[iotdb] 01/01: fix postion < 0
This is an automated email from the ASF dual-hosted git repository.
xiangweiwei pushed a commit to branch readData
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 49c215359f8ec4f0bad678553263be42ea17fe0b
Author: Alima777 <wx...@gmail.com>
AuthorDate: Wed Dec 1 19:56:32 2021 +0800
fix postion < 0
---
.../main/java/org/apache/iotdb/tsfile/read/TsFileSequenceReader.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tsfile/src/main/java/org/apache/iotdb/tsfile/read/TsFileSequenceReader.java b/tsfile/src/main/java/org/apache/iotdb/tsfile/read/TsFileSequenceReader.java
index 8e77373..bfb8e31 100644
--- a/tsfile/src/main/java/org/apache/iotdb/tsfile/read/TsFileSequenceReader.java
+++ b/tsfile/src/main/java/org/apache/iotdb/tsfile/read/TsFileSequenceReader.java
@@ -1050,8 +1050,8 @@ public class TsFileSequenceReader implements AutoCloseable {
+ "actual read size: %s, position: %s",
allocateSize, actualReadSize, position));
}
+ position += allocateSize;
}
- position += allocateSize;
}
buffer.flip();
return buffer;