From: Dave Cramer Date: Tue, 25 Mar 2003 01:57:03 +0000 (+0000) Subject: fixed problem where information from previous updates was leaking into subsequent... X-Git-Tag: REL7_3_3~51 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b27eb64e612e325abd8170908317fecf950b810e;p=postgresql fixed problem where information from previous updates was leaking into subsequent updates patch from Shawn Green --- diff --git a/src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java b/src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java index 385486dbf7..9036c2c589 100644 --- a/src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java +++ b/src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java @@ -15,7 +15,7 @@ import org.postgresql.util.PGbytea; 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 * org.postgresql.jdbc1.AbstractJdbc1ResultSet which provides the jdbc1 * 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 ); if ( Driver.logDebug ) Driver.debug("done updates"); - + // make sure next one doesn't see remnants of this one + clearRowBuffer(); doingUpdates = false; } catch (Exception e)