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 <[email protected]> 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; }
