Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aa78ca3

Browse files
author
Dave Cramer
committed
added fix from Joel Hock to get the inserted row into the current buffer
1 parent 36777c1 commit aa78ca3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import org.postgresql.util.PSQLException;
1616

1717

18-
/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Attic/AbstractJdbc2ResultSet.java,v 1.11 2002/12/23 16:12:36 davec Exp $
18+
/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Attic/AbstractJdbc2ResultSet.java,v 1.12 2003/01/23 18:49:22 davec Exp $
1919
* This class defines methods of the jdbc2 specification. This class extends
2020
* org.postgresql.jdbc1.AbstractJdbc1ResultSet which provides the jdbc1
2121
* methods. The real Statement class (for jdbc2) is org.postgresql.jdbc2.Jdbc2ResultSet
@@ -968,6 +968,7 @@ public void refreshRow() throws SQLException
968968
}
969969

970970
rows.setElementAt( rowBuffer, current_row );
971+
this_row = rowBuffer;
971972
if ( Driver.logDebug )
972973
Driver.debug("done updates");
973974

0 commit comments

Comments
 (0)