projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07cc12b
)
fixed bug reported by Noel Rappin (
[email protected]
) java Array type handled Times...
author
Barry Lind
Mon, 3 Jun 2002 17:52:05 +0000
(17:52 +0000)
committer
Barry Lind
Mon, 3 Jun 2002 17:52:05 +0000
(17:52 +0000)
src/interfaces/jdbc/org/postgresql/jdbc2/Array.java
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/jdbc/org/postgresql/jdbc2/Array.java
b/src/interfaces/jdbc/org/postgresql/jdbc2/Array.java
index 75391411527c2a03a2f7812679ada42fe17e1dab..90b56eb92d890aaab781c4584e94e39905f46827 100644
(file)
--- 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