zstan commented on code in PR #2906:
URL: https://github.com/apache/ignite-3/pull/2906#discussion_r1434120297
##########
modules/client-common/src/main/java/org/apache/ignite/internal/jdbc/proto/event/JdbcQuerySingleResult.java:
##########
@@ -69,15 +69,30 @@ public JdbcQuerySingleResult(int status, String err) {
super(status, err);
}
+ /**
+ * Constructor.
+ *
+ * @param hasNext {@code true} if more results are present.
+ * @param updCount Update counter.
+ */
+ public JdbcQuerySingleResult(boolean hasNext, long updCount) {
+ hasResults = hasNext;
+ this.updateCnt = updCount;
Review Comment:
done
##########
modules/client-common/src/main/java/org/apache/ignite/internal/jdbc/proto/event/JdbcQuerySingleResult.java:
##########
@@ -179,6 +197,7 @@ public long updateCount() {
@Override
public void writeBinary(ClientMessagePacker packer) {
super.writeBinary(packer);
+ packer.packLong(updateCnt);
Review Comment:
done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]