From: | Paul Bethe <pmbethe(at)yahoo(dot)com> |
---|---|
To: | pgsql-patches(at)postgresql(dot)org |
Subject: | Re: New Patch For CallableStmt (against current CVS) |
Date: | 2002-06-14 18:03:15 |
Message-ID: | 20020614180315.40726.qmail@web20302.mail.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Sorry - I found a one line bug while doing some
testing.
patch is here applies on-top of patch submitted
yesterday by me.
-Paul
jdbc2/CallableStatement.java Fri Jun 14 13:39:48 2002
--- CallableStatement.java.old Fri Jun 14 13:39:43
2002
***************
*** 75,81 ****
// so syntax checking is not complete only a few
basics :(
originalSql = sql; // save for error msgs..
int index = sql.indexOf ("="); // is implied func
or proc?
! boolean isValid = true;
if (index != -1) {
isFunction = true;
isValid = sql.indexOf ("?") < index; // ? before
=
--- 75,81 ----
// so syntax checking is not complete only a few
basics :(
originalSql = sql; // save for error msgs..
int index = sql.indexOf ("="); // is implied func
or proc?
! boolean isValid = false;
if (index != -1) {
isFunction = true;
isValid = sql.indexOf ("?") < index; // ? before
=
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
From | Date | Subject | |
---|---|---|---|
Next Message | Mike Mascari | 2002-06-14 18:57:59 | Re: Non-standard feature request |
Previous Message | Tom Lane | 2002-06-14 16:58:32 | Re: FW: Patch for current_schemas to optionally include implicit |