You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ge...@apache.org on 2020/07/14 08:54:42 UTC
[incubator-iotdb] branch optimize_path updated: Update MTree.java
This is an automated email from the ASF dual-hosted git repository.
geniuspig pushed a commit to branch optimize_path
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
The following commit(s) were added to refs/heads/optimize_path by this push:
new 521a1fe Update MTree.java
521a1fe is described below
commit 521a1fec1d6b488b32fa29f478f97999ae965b6d
Author: zhutianci <zh...@gmail.com>
AuthorDate: Tue Jul 14 16:54:24 2020 +0800
Update MTree.java
---
server/src/main/java/org/apache/iotdb/db/metadata/MTree.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/server/src/main/java/org/apache/iotdb/db/metadata/MTree.java b/server/src/main/java/org/apache/iotdb/db/metadata/MTree.java
index a474e17..8bc3b30 100644
--- a/server/src/main/java/org/apache/iotdb/db/metadata/MTree.java
+++ b/server/src/main/java/org/apache/iotdb/db/metadata/MTree.java
@@ -866,10 +866,10 @@ public class MTree implements Serializable {
count.set(0);
if (offset.get() != 0 || limit.get() != 0) {
res = new LinkedList<>();
- findPath(root, nodes.toArray(new String[0]), 1, "", res, true, false);
+ findPath(root, nodes.toArray(new String[0]), 1, res, true, false);
} else {
res = new LinkedList<>();
- findPath(root, nodes.toArray(new String[0]), 1, "", res, false, false);
+ findPath(root, nodes.toArray(new String[0]), 1, res, false, false);
}
// avoid memory leaks
limit.remove();