You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2022/11/26 09:30:07 UTC

[iotdb] branch master updated: [IOTDB-5044] Correct the show triggers error message if the user doesn't have corresponding auth (#8158)

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

qiaojialin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 583a87b11f [IOTDB-5044] Correct the show triggers error message if the user doesn't have corresponding auth (#8158)
583a87b11f is described below

commit 583a87b11f4e689e2b5d16d4962cc9656071ef23
Author: Jackie Tien <ja...@gmail.com>
AuthorDate: Sat Nov 26 17:30:01 2022 +0800

    [IOTDB-5044] Correct the show triggers error message if the user doesn't have corresponding auth (#8158)
---
 .../iotdb/db/mpp/plan/statement/metadata/ShowTriggersStatement.java | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/mpp/plan/statement/metadata/ShowTriggersStatement.java b/server/src/main/java/org/apache/iotdb/db/mpp/plan/statement/metadata/ShowTriggersStatement.java
index ee9c65278b..a40484d6ac 100644
--- a/server/src/main/java/org/apache/iotdb/db/mpp/plan/statement/metadata/ShowTriggersStatement.java
+++ b/server/src/main/java/org/apache/iotdb/db/mpp/plan/statement/metadata/ShowTriggersStatement.java
@@ -21,7 +21,6 @@ package org.apache.iotdb.db.mpp.plan.statement.metadata;
 
 import org.apache.iotdb.commons.path.PartialPath;
 import org.apache.iotdb.db.mpp.plan.analyze.QueryType;
-import org.apache.iotdb.db.mpp.plan.constant.StatementType;
 import org.apache.iotdb.db.mpp.plan.statement.IConfigStatement;
 import org.apache.iotdb.db.mpp.plan.statement.StatementVisitor;
 
@@ -30,11 +29,6 @@ import java.util.List;
 
 public class ShowTriggersStatement extends ShowStatement implements IConfigStatement {
 
-  public ShowTriggersStatement() {
-    super();
-    statementType = StatementType.SHOW_TRIGGERS;
-  }
-
   @Override
   public <R, C> R accept(StatementVisitor<R, C> visitor, C context) {
     return visitor.visitShowTriggers(this, context);