未验证 提交 a92c7b3b 编写于 作者: X Xiangdong Huang 提交者: GitHub

Merge pull request #113 from apache/fix_jira_67_valueDecoder_reset

[IOTDB-67] call valueDecoder reset() when reading data from a new Page
......@@ -70,6 +70,7 @@ public class TsFileSequenceRead {
Decoder valueDecoder = Decoder
.getDecoderByType(header.getEncodingType(), header.getDataType());
for (int j = 0; j < header.getNumOfPages(); j++) {
valueDecoder.reset();
System.out.println("\t\t[Page]\n \t\tPage head position: " + reader.position());
PageHeader pageHeader = reader.readPageHeader(header.getDataType());
System.out.println("\t\tPage data position: " + reader.position());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册