Fix updatable ResultSets stream methods (ascii, character, binary).
Kris Jurka <books@ejurka.com>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/jdbc/org/postgresql/errors.properties | modified | +0 −1 |
| src/interfaces/jdbc/org/postgresql/errors_pt_BR.properties | modified | +0 −1 |
| src/interfaces/jdbc/org/postgresql/errors_ru.properties | modified | +0 −1 |
| src/interfaces/jdbc/org/postgresql/errors_zh_TW.properties | modified | +0 −1 |
| src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java | modified | +84 −21 |
| src/interfaces/jdbc/org/postgresql/test/jdbc2/UpdateableResultTest.java | modified | +54 −0 |