Update of /cvsroot/monetdb/clients/src/java/src/nl/cwi/monetdb/jdbc
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv5006
Modified Files:
MonetConnection.java
Log Message:
Fix for bug #1730556
In languages that don't do blocks, just blow up the result set to
whatever the server will return.
Index: MonetConnection.java
===================================================================
RCS file:
/cvsroot/monetdb/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- MonetConnection.java 23 Apr 2007 13:10:58 -0000 1.15
+++ MonetConnection.java 5 Jun 2007 10:31:41 -0000 1.16
@@ -1162,7 +1162,7 @@
isSet = new boolean[7];
this.parent = parent;
if (parent.cachesize == 0) {
- cacheSize = MonetConnection.DEF_FETCHSIZE;
+ cacheSize = lang == LANG_SQL ?
MonetConnection.DEF_FETCHSIZE : tuplecount;
cacheSizeSetExplicitly = false;
} else {
cacheSize = parent.cachesize;
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins