This is an automated email from the ASF dual-hosted git repository.
jackie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git
The following commit(s) were added to refs/heads/master by this push:
new 874d9d688b [bugfix]when the query record is 0 will infinite loop
(#10246)
874d9d688b is described below
commit 874d9d688be9d02059ce74221728091927652e19
Author: Fakai Zhao <[email protected]>
AuthorDate: Sat Feb 11 06:54:53 2023 +0800
[bugfix]when the query record is 0 will infinite loop (#10246)
---
.../src/main/java/org/apache/pinot/client/PinotPreparedStatement.java | 2 --
1 file changed, 2 deletions(-)
diff --git
a/pinot-clients/pinot-jdbc-client/src/main/java/org/apache/pinot/client/PinotPreparedStatement.java
b/pinot-clients/pinot-jdbc-client/src/main/java/org/apache/pinot/client/PinotPreparedStatement.java
index f2b44aeae6..9dbcfd5c50 100644
---
a/pinot-clients/pinot-jdbc-client/src/main/java/org/apache/pinot/client/PinotPreparedStatement.java
+++
b/pinot-clients/pinot-jdbc-client/src/main/java/org/apache/pinot/client/PinotPreparedStatement.java
@@ -168,7 +168,6 @@ public class PinotPreparedStatement extends
AbstractBasePreparedStatement {
_resultSet.beforeFirst();
return true;
} else {
- _resultSet = null;
return false;
}
}
@@ -216,7 +215,6 @@ public class PinotPreparedStatement extends
AbstractBasePreparedStatement {
_resultSet.beforeFirst();
return true;
} else {
- _resultSet = null;
return false;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]