You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by zy...@apache.org on 2023/03/08 02:45:39 UTC
[iotdb] 01/02: [To rel/1.1] [IOTDB-5487] Fix the problem that the timestamp is "null" when using jdbc(#9234)
This is an automated email from the ASF dual-hosted git repository.
zyk pushed a commit to branch rc/1.1.0
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 7ce56fe2204721eb18591f91aa1961359a6e946e
Author: 任宇华 <79...@users.noreply.github.com>
AuthorDate: Tue Mar 7 19:20:28 2023 +0800
[To rel/1.1] [IOTDB-5487] Fix the problem that the timestamp is "null" when using jdbc(#9234)
[To rel/1.1] [IOTDB-5487] Fix the problem that the timestamp is "null" when using jdbc(#9234)
---
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 58a32f5e95..49711ab559 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
@@ -272,6 +272,7 @@ public class IoTDBRpcDataSet {
public boolean next() throws StatementExecutionException, IoTDBConnectionException {
if (hasCachedBlock()) {
constructOneRow();
+ lastReadWasNull = false;
return true;
}
if (hasCachedByteBuffer()) {