This is an automated email from the ASF dual-hosted git repository.
rong pushed a commit to branch rel/1.2
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/rel/1.2 by this push:
new 0f6b2d90021 [IOTDB-5986] Pipe: fix "show pipe p1" shows multiple pipes
(#10111) (#10115)
0f6b2d90021 is described below
commit 0f6b2d90021d48c3dddfed0aa6e0f163a99cae16
Author: Steve Yurong Su <[email protected]>
AuthorDate: Sun Jun 11 03:11:22 2023 +0800
[IOTDB-5986] Pipe: fix "show pipe p1" shows multiple pipes (#10111) (#10115)
(cherry picked from commit c51443748320d52aa3d8bbffabae503c36f615cb)
Co-authored-by: 马子坤 <[email protected]>
---
.../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 {