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

rong pushed a commit to branch IOTDB-5986-1.2
in repository https://gitbox.apache.org/repos/asf/iotdb.git

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

    [IOTDB-5986] Pipe: fix "show pipe p1" shows multiple pipes (#10111)
    
    (cherry picked from commit c51443748320d52aa3d8bbffabae503c36f615cb)
---
 .../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