summaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc/org/postgresql/jdbc2/Array.java
diff options
context:
space:
mode:
authorBarry Lind <barry@xythos.com>2002-03-26 06:33:21 +0000
committerBarry Lind <barry@xythos.com>2002-03-26 06:33:21 +0000
commitda631e931f9da4bc5df4bfd39f0c42684adfb8e5 (patch)
treedccd0d98e230641d4002800b432f43b541601ca3 /src/interfaces/jdbc/org/postgresql/jdbc2/Array.java
parentef7d7910745cf2812007668138eaaf0a8e1d8d99 (diff)
downloadpostgresql-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.java2
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 ];