diff options
author | Barry Lind <barry@xythos.com> | 2002-03-26 06:33:21 +0000 |
---|---|---|
committer | Barry Lind <barry@xythos.com> | 2002-03-26 06:33:21 +0000 |
commit | da631e931f9da4bc5df4bfd39f0c42684adfb8e5 (patch) | |
tree | dccd0d98e230641d4002800b432f43b541601ca3 /src/interfaces/jdbc/org/postgresql/jdbc2/Array.java | |
parent | ef7d7910745cf2812007668138eaaf0a8e1d8d99 (diff) | |
download | postgresql-da631e931f9da4bc5df4bfd39f0c42684adfb8e5.tar.gz |
applied patch submitted by Florian (mailing-list@urbanet.ch) for BigDecimal support
Diffstat (limited to 'src/interfaces/jdbc/org/postgresql/jdbc2/Array.java')
-rw-r--r-- | src/interfaces/jdbc/org/postgresql/jdbc2/Array.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/jdbc2/Array.java b/src/interfaces/jdbc/org/postgresql/jdbc2/Array.java index f68106ee7b..7539141152 100644 --- a/src/interfaces/jdbc/org/postgresql/jdbc2/Array.java +++ b/src/interfaces/jdbc/org/postgresql/jdbc2/Array.java @@ -140,7 +140,7 @@ public class Array implements java.sql.Array case Types.NUMERIC: retVal = new BigDecimal[ count ]; for ( ; count > 0; count-- ) - ((BigDecimal[])retVal)[i] = ResultSet.toBigDecimal( arrayContents[(int)index++], 0 ); + ((BigDecimal[])retVal)[i++] = ResultSet.toBigDecimal( arrayContents[(int)index++], 0 ); break; case Types.REAL: retVal = new float[ count ]; |