]> granicus.if.org Git - postgresql/commitdiff
fixed problem where information from previous updates was leaking into subsequent...
authorDave Cramer <davec@fastcrypt.com>
Tue, 25 Mar 2003 02:23:10 +0000 (02:23 +0000)
committerDave Cramer <davec@fastcrypt.com>
Tue, 25 Mar 2003 02:23:10 +0000 (02:23 +0000)
src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java

index 9036c2c589f0021f1cb03de109750b72113d00bf..7435c4776b77a9a0f00f27da62390cd0bda83e4a 100644 (file)
@@ -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.4 2003/03/25 01:57:03 davec Exp $
+/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Attic/AbstractJdbc2ResultSet.java,v 1.10.2.5 2003/03/25 02:23:10 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
@@ -1072,7 +1072,7 @@ public abstract class AbstractJdbc2ResultSet extends org.postgresql.jdbc1.Abstra
                                if ( Driver.logDebug )
                                        Driver.debug("done updates");
                                // make sure next one doesn't see remnants of this one
-                               clearRowBuffer();
+                               updateValues.clear();
                                doingUpdates = false;
                        }
                        catch (Exception e)