You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2021/09/09 02:07:58 UTC

[iotdb] branch IOTDB-1275 created (now d16a665)

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

haonan pushed a change to branch IOTDB-1275
in repository https://gitbox.apache.org/repos/asf/iotdb.git.


      at d16a665  [IOTDB-1275] Fix backgroup exec for cli -e function causes an infinite loop in writing output file

This branch includes the following new commits:

     new d16a665  [IOTDB-1275] Fix backgroup exec for cli -e function causes an infinite loop in writing output file

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-1275] Fix backgroup exec for cli -e function causes an infinite loop in writing output file

Posted by ha...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit d16a66599f510dae03773cad71620aa05ae4235c
Author: HTHou <hh...@outlook.com>
AuthorDate: Thu Sep 9 10:07:27 2021 +0800

    [IOTDB-1275] Fix backgroup exec for cli -e function causes an infinite loop in writing output file
---
 cli/src/main/java/org/apache/iotdb/cli/AbstractCli.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cli/src/main/java/org/apache/iotdb/cli/AbstractCli.java b/cli/src/main/java/org/apache/iotdb/cli/AbstractCli.java
index 55216b9..9598826 100644
--- a/cli/src/main/java/org/apache/iotdb/cli/AbstractCli.java
+++ b/cli/src/main/java/org/apache/iotdb/cli/AbstractCli.java
@@ -288,6 +288,8 @@ public abstract class AbstractCli {
 
       execute = executeCommand.toString();
       hasExecuteSQL = true;
+      // when execute sql, when should print all results
+      continuePrint = true;
       args = Arrays.copyOfRange(args, 0, index);
       return args;
     }