fixed problem where information from previous updates was leaking into subsequent...
authorDave Cramer <[email protected]>
Tue, 25 Mar 2003 01:57:03 +0000 (01:57 +0000)
committerDave Cramer <[email protected]>
Tue, 25 Mar 2003 01:57:03 +0000 (01:57 +0000)
src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java

index 7fe380c3af5d3fe72835a28bc248f0421717595a..81c2c63af7438ffe930da2ec3e0bd1b8afffb3ea 100644 (file)
@@ -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)