You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2020/12/25 05:42:54 UTC

[iotdb] branch rel/0.11 updated: fix jdbc

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

jackietien pushed a commit to branch rel/0.11
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/rel/0.11 by this push:
     new c2d5f2d  fix jdbc
c2d5f2d is described below

commit c2d5f2d16b1c7326c23fab4a1a7906c35a8354a9
Author: JackieTien97 <Ja...@foxmail.com>
AuthorDate: Fri Dec 25 13:42:28 2020 +0800

    fix jdbc
---
 service-rpc/src/main/java/org/apache/iotdb/rpc/IoTDBRpcDataSet.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/service-rpc/src/main/java/org/apache/iotdb/rpc/IoTDBRpcDataSet.java b/service-rpc/src/main/java/org/apache/iotdb/rpc/IoTDBRpcDataSet.java
index 381bfa9..972a281 100644
--- a/service-rpc/src/main/java/org/apache/iotdb/rpc/IoTDBRpcDataSet.java
+++ b/service-rpc/src/main/java/org/apache/iotdb/rpc/IoTDBRpcDataSet.java
@@ -475,5 +475,6 @@ public class IoTDBRpcDataSet {
 
   public void setTsQueryDataSet(TSQueryDataSet tsQueryDataSet) {
     this.tsQueryDataSet = tsQueryDataSet;
+    this.emptyResultSet = (tsQueryDataSet == null || !tsQueryDataSet.time.hasRemaining());
   }
 }