Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb48b4ab

Browse files
author
Barry Lind
committed
fixed bug reported by Noel Rappin (nrappin@sockeye.com) java Array type handled Timestamps incorrectly
1 parent07cc12b commitb48b4ab

File tree

1 file changed

+1
-1
lines changed
  • src/interfaces/jdbc/org/postgresql/jdbc2

1 file changed

+1
-1
lines changed

‎src/interfaces/jdbc/org/postgresql/jdbc2/Array.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public Object getArray(long index, int count, Map map) throws SQLException
172172
retVal =newTimestamp[count ];
173173
StringBuffersbuf =null;
174174
for ( ;count >0;count-- )
175-
((java.sql.Timestamp[])retVal)[i++] =ResultSet.toTimestamp(arrayContents[(int)index],rs );
175+
((java.sql.Timestamp[])retVal)[i++] =ResultSet.toTimestamp(arrayContents[(int)index++],rs );
176176
break;
177177

178178
// Other datatypes not currently supported. If you are really using other types ask

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp