You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2020/06/10 07:38:49 UTC
[incubator-iotdb] 01/04: init
This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a commit to branch ShowTimeseriesSort
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
commit 542a59bfb3bb097dae3471d476d69626b443c2a4
Author: JackieTien97 <Ja...@foxmail.com>
AuthorDate: Mon Jun 8 19:58:12 2020 +0800
init
---
.../src/main/java/org/apache/iotdb/db/qp/executor/PlanExecutor.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/server/src/main/java/org/apache/iotdb/db/qp/executor/PlanExecutor.java b/server/src/main/java/org/apache/iotdb/db/qp/executor/PlanExecutor.java
index cce6140..9effca0 100644
--- a/server/src/main/java/org/apache/iotdb/db/qp/executor/PlanExecutor.java
+++ b/server/src/main/java/org/apache/iotdb/db/qp/executor/PlanExecutor.java
@@ -967,11 +967,11 @@ public class PlanExecutor implements IPlanExecutor {
}
} else if (deviceNode != null) {
// device and measurement exists in MTree
- LeafMNode measurementNode = (LeafMNode) MManager.getInstance().getChild(deviceNode, measurement);
+ LeafMNode measurementNode = (LeafMNode) mManager.getChild(deviceNode, measurement);
measurementSchema = measurementNode.getSchema();
} else {
// device in not in MTree, try the cache
- measurementSchema = MManager.getInstance().getSeriesSchema(deviceId, measurement);
+ measurementSchema = mManager.getSeriesSchema(deviceId, measurement);
}
return measurementSchema;
}