This is an automated email from the ASF dual-hosted git repository.
east pushed a commit to branch east_mmanager_add_checkSG
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
The following commit(s) were added to refs/heads/east_mmanager_add_checkSG by
this push:
new 833f2a0 fix bug
833f2a0 is described below
commit 833f2a0af982d703cd30d4eebf75d7fe75dbcfa5
Author: mdf369 <[email protected]>
AuthorDate: Wed Mar 27 17:58:02 2019 +0800
fix bug
---
iotdb/src/main/java/org/apache/iotdb/db/metadata/MTree.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/iotdb/src/main/java/org/apache/iotdb/db/metadata/MTree.java
b/iotdb/src/main/java/org/apache/iotdb/db/metadata/MTree.java
index bb2527f..2668619 100644
--- a/iotdb/src/main/java/org/apache/iotdb/db/metadata/MTree.java
+++ b/iotdb/src/main/java/org/apache/iotdb/db/metadata/MTree.java
@@ -226,7 +226,7 @@ public class MTree implements Serializable {
int i = 1;
while (i < nodeNames.length - 1) {
MNode temp = cur.getChild(nodeNames[i]);
- if (temp == null && temp.isStorageLevel()) {
+ if (temp == null || temp.isStorageLevel()) {
return false;
}
cur = cur.getChild(nodeNames[i]);