[libpostgresql-jdbc-java] 15/22: fixed problem where information from previous updates was leaking into subsequent updates patch from Shawn Green

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Jan 9 10:19:03 UTC 2017


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to tag REL7_3_4
in repository libpostgresql-jdbc-java.

commit 64b438a234e8c44aed1508c3348a4dbdfece549a
Author: Dave Cramer <davec at fastcrypt.com>
Date:   Tue Mar 25 01:57:03 2003 +0000

    fixed problem where information from previous updates was leaking into subsequent updates patch from Shawn Green
---
 org/postgresql/jdbc2/AbstractJdbc2ResultSet.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java b/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
index 7fe380c..81c2c63 100644
--- a/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
+++ b/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
@@ -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)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libpostgresql-jdbc-java.git



More information about the pkg-java-commits mailing list