[libpostgresql-jdbc-java] 10/22: Backport fix for parsing \n in updateable result sets to 7.3 branch

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 f34da5321f7f149349ba41014a3281a1d5c888b7
Author: Barry Lind <barry at xythos.com>
Date:   Fri Mar 14 05:38:36 2003 +0000

    Backport fix for parsing \n in updateable result sets to 7.3 branch
    
     Modified Files:
      Tag: REL7_3_STABLE
     	jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
---
 org/postgresql/jdbc2/AbstractJdbc2ResultSet.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java b/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
index ce0d7dd..7fe380c 100644
--- a/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
+++ b/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
@@ -1381,7 +1381,7 @@ public abstract class AbstractJdbc2ResultSet extends org.postgresql.jdbc1.Abstra
 	{
 		String[] l_sqlFragments = ((AbstractJdbc2Statement)statement).getSqlFragments();
 		String l_sql = l_sqlFragments[0];
-		StringTokenizer st = new StringTokenizer(l_sql, " \r\t");
+		StringTokenizer st = new StringTokenizer(l_sql, " \r\t\n");
 		boolean tableFound = false, tablesChecked = false;
 		String name = "";
 

-- 
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