[libpostgresql-jdbc-java] 91/128: fix bug of fail to prepareCall("{CALL func()}")

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


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

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

commit 7b390c6c698325b4450cacfc61bc1b9736cb0aff
Author: Chen Huajun <chjischj at 163.com>
Date:   Fri Aug 2 00:37:56 2013 +0800

    fix bug of fail to prepareCall("{CALL func()}")
---
 org/postgresql/jdbc2/AbstractJdbc2Statement.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/org/postgresql/jdbc2/AbstractJdbc2Statement.java b/org/postgresql/jdbc2/AbstractJdbc2Statement.java
index 30252dd..e6432db 100644
--- a/org/postgresql/jdbc2/AbstractJdbc2Statement.java
+++ b/org/postgresql/jdbc2/AbstractJdbc2Statement.java
@@ -2378,7 +2378,7 @@ public abstract class AbstractJdbc2Statement implements BaseStatement
                     ++i;
                     ++state;
                 }
-                else if (ch == 'c')
+                else if (ch == 'c' || ch == 'C')
                 {  // { call ... }      -- proc with no out parameters
                     state += 3; // Don't increase 'i'
                 }

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