Changeset: bbd59fc85a93 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=bbd59fc85a93 Modified Files: java/src/nl/cwi/monetdb/jdbc/MonetConnection.java Branch: Jul2015 Log Message:
JDBC Driver: Send Xclose <queryid> on ResultSet.close() if required This fixes Bug 3786 diffs (12 lines): diff --git a/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java b/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java --- a/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java +++ b/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java @@ -1621,7 +1621,7 @@ public class MonetConnection extends Mon cacheSize = rowcount; seqnr = seq; closed = false; - destroyOnClose = false; + destroyOnClose = id > 0 && tuplecount > rowcount; this.id = id; this.tuplecount = tuplecount; _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list