]> granicus.if.org Git - postgresql/commit
Fix updatable ResultSets stream methods (ascii, character, binary).
authorKris Jurka <books@ejurka.com>
Mon, 21 Jun 2004 02:01:12 +0000 (02:01 +0000)
committerKris Jurka <books@ejurka.com>
Mon, 21 Jun 2004 02:01:12 +0000 (02:01 +0000)
commit922c2638e4c48cdd15c9300e5259cedb9882ecec
treee87e139b66a0bc395038e916255c887e1450032a
parent3cec5b804de3d4ce79c71c63787a92c5e7ed3015
Fix updatable ResultSets stream methods (ascii, character, binary).
The existing code didn't correctly allocate data arrays, and it
failed to loop when a stream didn't provide the full amount of
data requested of it.

Reported by Jan de Visser.
src/interfaces/jdbc/org/postgresql/errors.properties
src/interfaces/jdbc/org/postgresql/errors_pt_BR.properties
src/interfaces/jdbc/org/postgresql/errors_ru.properties
src/interfaces/jdbc/org/postgresql/errors_zh_TW.properties
src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
src/interfaces/jdbc/org/postgresql/test/jdbc2/UpdateableResultTest.java