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/28 02:34:55 UTC

[iotdb] branch master updated: Fix typo in jdbc/IoTDBStatement.java (#4051)

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

haonan 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 1e12e65  Fix typo in jdbc/IoTDBStatement.java  (#4051)
1e12e65 is described below

commit 1e12e6581b03b40956184a610063c2198466afbd
Author: Zhong Wang <wa...@alibaba-inc.com>
AuthorDate: Tue Sep 28 10:34:31 2021 +0800

    Fix typo in jdbc/IoTDBStatement.java  (#4051)
---
 jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBStatement.java | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBStatement.java b/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBStatement.java
index 36536c8..cfb8acc 100644
--- a/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBStatement.java
+++ b/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBStatement.java
@@ -414,9 +414,8 @@ public class IoTDBStatement implements Statement {
       throw new IoTDBSQLException(e.getMessage(), execResp.getStatus());
     }
 
-    // Because diffent resultSet share the same TTransport and buffer, if the former has not
-    // comsumed
-    // result timely, the latter will overlap the former byte buffer, thus problem will occur
+    // Because different result sets share the TTransport and buffer, if the previous result set was
+    // not consumed timely, the byte buffer will be overwritten by the incoming result set
     deepCopyResp(execResp);
     BitSet aliasColumn = null;
     if (execResp.getAliasColumns() != null && execResp.getAliasColumns().size() > 0) {