diff options
author | Barry Lind <barry@xythos.com> | 2002-06-03 17:52:05 +0000 |
---|---|---|
committer | Barry Lind <barry@xythos.com> | 2002-06-03 17:52:05 +0000 |
commit | b48b4ab48e792f2815cfdbc83fa361c237efce80 (patch) | |
tree | 1bee15d054269fe08d21bdccdbbf0c6c91b17334 /src/interfaces/jdbc | |
parent | 07cc12b833d373bd3837a14b6631cf6a3c8d5764 (diff) | |
download | postgresql-b48b4ab48e792f2815cfdbc83fa361c237efce80.tar.gz postgresql-b48b4ab48e792f2815cfdbc83fa361c237efce80.zip |
fixed bug reported by Noel Rappin (nrappin@sockeye.com) java Array type handled Timestamps incorrectly
Diffstat (limited to 'src/interfaces/jdbc')
-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 75391411527..90b56eb92d8 100644 --- a/src/interfaces/jdbc/org/postgresql/jdbc2/Array.java +++ b/src/interfaces/jdbc/org/postgresql/jdbc2/Array.java @@ -172,7 +172,7 @@ public class Array implements java.sql.Array retVal = new Timestamp[ count ]; StringBuffer sbuf = null; for ( ; count > 0; count-- ) - ((java.sql.Timestamp[])retVal)[i++] = ResultSet.toTimestamp( arrayContents[(int)index], rs ); + ((java.sql.Timestamp[])retVal)[i++] = ResultSet.toTimestamp( arrayContents[(int)index++], rs ); break; // Other datatypes not currently supported. If you are really using other types ask |