[Jdbc-commits] pgjdbc: Deep inside the driver's underlying IO code there is a method to

User Jurka jurka at pgfoundry.org
Sat Dec 15 15:32:47 UTC 2007


Log Message:
-----------
Deep inside the driver's underlying IO code there is a method to skip
over incoming data and discard it.  It returns the length of data
actually skipped which may differ from the requested skip size.  It
was incorrectly calculating the total length skipped when it had some
data buffered, but also needed to skip over some data it had yet to
read.  This bug does not affect any existing code because all current
callers of skip ensure that enough data is buffered, so the skip can
always be satisfied from the internal buffer alone.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
    pgjdbc/org/postgresql/core:
        VisibleBufferedInputStream.java (r1.1 -> r1.1.2.1)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/jdbc/pgjdbc/org/postgresql/core/VisibleBufferedInputStream.java.diff?r1=1.1&r2=1.1.2.1)


More information about the Jdbc-commits mailing list