Update of /cvsroot/monetdb/clients/src/java/src/nl/cwi/monetdb/jdbc
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv6858

Modified Files:
      Tag: Clients_1-16
        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.2.2.6
retrieving revision 1.2.2.7
diff -u -d -r1.2.2.6 -r1.2.2.7
--- MonetConnection.java        2 Mar 2007 09:34:45 -0000       1.2.2.6
+++ MonetConnection.java        5 Jun 2007 10:35:34 -0000       1.2.2.7
@@ -1320,7 +1320,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

Reply via email to