You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ch...@apache.org on 2021/03/01 04:20:18 UTC

[iotdb] branch feature/metric2021 updated: remove unused code

This is an automated email from the ASF dual-hosted git repository.

chaow pushed a commit to branch feature/metric2021
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/feature/metric2021 by this push:
     new 6c137a9  remove unused code
6c137a9 is described below

commit 6c137a978722c1f88e5242c3c2881668f8fbfcf5
Author: chaow <xu...@gmail.com>
AuthorDate: Mon Mar 1 12:19:42 2021 +0800

    remove unused code
---
 server/src/main/java/org/apache/iotdb/db/qp/executor/PlanExecutor.java | 3 ---
 1 file changed, 3 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 47b79a1..381b6ee 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
@@ -187,7 +187,6 @@ public class PlanExecutor implements IPlanExecutor {
   private IAuthorizer authorizer;
 
   private static final String INSERT_MEASUREMENTS_FAILED_MESSAGE = "failed to insert measurements ";
-  private IoTDBConfig config = IoTDBDescriptor.getInstance().getConfig();
 
   public PlanExecutor() throws QueryProcessException {
     queryRouter = new QueryRouter();
@@ -1149,7 +1148,6 @@ public class PlanExecutor implements IPlanExecutor {
 
   @Override
   public void insert(InsertRowPlan insertRowPlan) throws QueryProcessException {
-    long startTime = System.currentTimeMillis();
     try {
       insertRowPlan.setMeasurementMNodes(
           new MeasurementMNode[insertRowPlan.getMeasurements().length]);
@@ -1186,7 +1184,6 @@ public class PlanExecutor implements IPlanExecutor {
 
   @Override
   public void insertTablet(InsertTabletPlan insertTabletPlan) throws QueryProcessException {
-    long startTime = System.currentTimeMillis();
     try {
       insertTabletPlan.setMeasurementMNodes(
           new MeasurementMNode[insertTabletPlan.getMeasurements().length]);