pgsql/src/interfaces/jdbc/org/postgresql/large ...

Поиск
Список
Период
Сортировка
От Bruce Momjian - CVS
Тема pgsql/src/interfaces/jdbc/org/postgresql/large ...
Дата
Msg-id 200105160329.f4G3T2b80176@hub.org
обсуждение исходный текст
Список pgsql-committers
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    momjian@hub.org    01/05/15 23:29:01

Modified files:
    src/interfaces/jdbc/org/postgresql/largeobject:
                                                    BlobInputStream.java

Log message:
    The current implementation of BlobInputStream does
    not properly handle 8-bit unsigned data as it blindly
    casts the byte to an int, which java most helpfully
    promotes to a signed type.  This causes problems when
    you can only return -1 to indicated EOF.

    The following patch fixes the bug and has been tested
    locally on image data.

    Chad David


В списке pgsql-committers по дате отправления:

Предыдущее
От: Vince Vielhaber
Дата:
Сообщение: [WEBMASTER] 'www/html mirrors.html'
Следующее
От: Bruce Momjian - CVS
Дата:
Сообщение: pgsql/src/interfaces/jdbc/org/postgresql/jdbc2 ...