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

rong 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 c5144374832 [IOTDB-5986] Pipe: fix "show pipe p1" shows multiple pipes 
(#10111)
c5144374832 is described below

commit c51443748320d52aa3d8bbffabae503c36f615cb
Author: 马子坤 <[email protected]>
AuthorDate: Sun Jun 11 02:02:36 2023 +0800

    [IOTDB-5986] Pipe: fix "show pipe p1" shows multiple pipes (#10111)
---
 .../iotdb/confignode/consensus/response/pipe/task/PipeTableResp.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/confignode/src/main/java/org/apache/iotdb/confignode/consensus/response/pipe/task/PipeTableResp.java
 
b/confignode/src/main/java/org/apache/iotdb/confignode/consensus/response/pipe/task/PipeTableResp.java
index 3153739629f..2b5bb5e6894 100644
--- 
a/confignode/src/main/java/org/apache/iotdb/confignode/consensus/response/pipe/task/PipeTableResp.java
+++ 
b/confignode/src/main/java/org/apache/iotdb/confignode/consensus/response/pipe/task/PipeTableResp.java
@@ -49,7 +49,7 @@ public class PipeTableResp implements DataSet {
   }
 
   public PipeTableResp filter(Boolean whereClause, String pipeName) {
-    if (whereClause == null) {
+    if (whereClause == null || !whereClause) {
       if (pipeName == null) {
         return this;
       } else {

Reply via email to