[pgjdbc/pgjdbc] b3050e: fix: numeric binary decode for even 10 thousands (...

Поиск
Список
Период
Сортировка
Искать

[pgjdbc/pgjdbc] b3050e: fix: numeric binary decode for even 10 thousands (...

От:
Brett Okken <noreply@github.com>
Дата:
  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: b3050e60f81b4e43fae452bcf6df297df2048ae4
      https://github.com/pgjdbc/pgjdbc/commit/b3050e60f81b4e43fae452bcf6df297df2048ae4
  Author: Brett Okken 
  Date:   2021-10-28 (Thu, 28 Oct 2021)

  Changed paths:
    M pgjdbc/src/main/java/org/postgresql/util/ByteConverter.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/Jdbc2TestSuite.java
    A pgjdbc/src/test/java/org/postgresql/test/jdbc2/NumericTransferTest2.java
    M pgjdbc/src/test/java/org/postgresql/util/BigDecimalByteConverterTest.java

  Log Message:
  -----------
  fix: numeric binary decode for even 10 thousands (#2327)

* fix: numeric binary decode for even 10 thousands

binary numeric values which represented integers multiples of 10,000
from 10,000-9,990,000 were not decoded correctly

fixes https://github.com/pgjdbc/pgjdbc/issues/2326

* fix: numeric binary decode for even 10 thousands

more test values

* fix: numeric binary decode for even 10 thousands




FAQ