Update of /cvsroot/monetdb/clients/src/java
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv20440
Modified Files:
Tag: Clients_1-20
build.properties release.txt
Log Message:
Fixing the bug rapported to happen on Windows and by jsolderitsch.
When the connection is slow enough for blocks not to arrive in time,
such that Java cannot fetch them at once, the BufferedInputStream will
return the sofar received part, instead of blocking until the entire
requested number of bytes are read. This little detail I had missed,
and instead I assumed the behaviour was the same as the InputStream's
read() method, which /does/ block. As a result, JBDC would sometimes
get partial blocks, and the code would assume this was because the
server sent an EOF. The latter, however, was not true. To work around
this, I now read as long as necessary to get the required bytes
(actually spinlocking) to make sure I deal with entire blocks. Maybe we
should invest in dealing with incomplete blocks in the future, but for
now this should solve the issue at hand.
I consider this a quite critical bug-fix for JDBC.
Index: release.txt
===================================================================
RCS file: /cvsroot/monetdb/clients/src/java/release.txt,v
retrieving revision 1.14.2.1
retrieving revision 1.14.2.2
diff -u -d -r1.14.2.1 -r1.14.2.2
--- release.txt 12 Nov 2007 21:42:09 -0000 1.14.2.1
+++ release.txt 13 Nov 2007 14:52:39 -0000 1.14.2.2
@@ -1,8 +1,8 @@
RELEASE NOTES
-MonetDB JDBC driver version 1.6 (Steadfast_p11/MCL-1.0)
+MonetDB JDBC driver version 1.6 (Steadfast_p12/MCL-1.0)
Fabian Groffen <[EMAIL PROTECTED]>
-Release date: 2007-11-12
+Release date: 2007-11-13
This JDBC driver is designed for use with MonetDB, a main-memory
Index: build.properties
===================================================================
RCS file: /cvsroot/monetdb/clients/src/java/build.properties,v
retrieving revision 1.16.2.2
retrieving revision 1.16.2.3
diff -u -d -r1.16.2.2 -r1.16.2.3
--- build.properties 12 Nov 2007 21:42:08 -0000 1.16.2.2
+++ build.properties 13 Nov 2007 14:52:39 -0000 1.16.2.3
@@ -21,7 +21,7 @@
# minor release number
JDBC_MINOR=6
# an additional identifying string
-JDBC_VER_SUFFIX=Steadfast_p11
+JDBC_VER_SUFFIX=Steadfast_p12
# the default port to connect on, if no port given when using SQL
JDBC_DEF_PORT=50000
# the default port to connect on, if no port given when using XML:DB
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins