1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-11 00:12:06 +03:00

fixed problem where information from previous updates was leaking into subsequent updates patch from Shawn Green

This commit is contained in:
Dave Cramer
2003-03-25 01:57:03 +00:00
parent 74a665a8b3
commit b27eb64e61

View File

@@ -15,7 +15,7 @@ import org.postgresql.util.PGbytea;
import org.postgresql.util.PSQLException; import org.postgresql.util.PSQLException;
/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Attic/AbstractJdbc2ResultSet.java,v 1.10.2.3 2003/03/14 05:38:36 barry Exp $ /* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Attic/AbstractJdbc2ResultSet.java,v 1.10.2.4 2003/03/25 01:57:03 davec Exp $
* This class defines methods of the jdbc2 specification. This class extends * This class defines methods of the jdbc2 specification. This class extends
* org.postgresql.jdbc1.AbstractJdbc1ResultSet which provides the jdbc1 * org.postgresql.jdbc1.AbstractJdbc1ResultSet which provides the jdbc1
* methods. The real Statement class (for jdbc2) is org.postgresql.jdbc2.Jdbc2ResultSet * methods. The real Statement class (for jdbc2) is org.postgresql.jdbc2.Jdbc2ResultSet
@@ -1071,7 +1071,8 @@ public abstract class AbstractJdbc2ResultSet extends org.postgresql.jdbc1.Abstra
rows.setElementAt( rowBuffer, current_row ); rows.setElementAt( rowBuffer, current_row );
if ( Driver.logDebug ) if ( Driver.logDebug )
Driver.debug("done updates"); Driver.debug("done updates");
// make sure next one doesn't see remnants of this one
clearRowBuffer();
doingUpdates = false; doingUpdates = false;
} }
catch (Exception e) catch (Exception e)