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 2022/11/25 10:02:15 UTC
[iotdb] branch IOTDB-5044 created (now e25c207cd5)
This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a change to branch IOTDB-5044
in repository https://gitbox.apache.org/repos/asf/iotdb.git
at e25c207cd5 [IOTDB-5044] Correct the show triggers error message if the user doesn't have corresponding auth
This branch includes the following new commits:
new e25c207cd5 [IOTDB-5044] Correct the show triggers error message if the user doesn't have corresponding auth
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[iotdb] 01/01: [IOTDB-5044] Correct the show triggers error message if the user doesn't have corresponding auth
Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jackietien pushed a commit to branch IOTDB-5044
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit e25c207cd5ca5e0ba159186e6b351334fcd924b1
Author: JackieTien97 <ja...@gmail.com>
AuthorDate: Fri Nov 25 18:01:59 2022 +0800
[IOTDB-5044] Correct the show triggers error message if the user doesn't have corresponding auth
---
.../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);