apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@gmail.com>
Subject Re: [PATCH] apr_dbd_oracle.c escape string implementation
Date Wed, 07 Sep 2011 11:26:42 GMT
On Wed, Sep 7, 2011 at 5:17 AM, Stefan Ruppert <sr@myarm.com> wrote:
> Hi all,
>
> today we got an error by using the APR DBD oracle driver with a string
> containing a single quote. Attached is a patch which implements a simple
> quoting mechanism for the oracle driver. It does not make use of oracle
> special quoting mechanism as introduced in 10g q'<string>' but it escapes
> any single quote with an additional single quote.

Please update the patch to avoid tab characters, include a space
within "if(", "while(", etc., and in general format the code like the
rest of the file (I hope this file isn't an odd one ;) ).

If nobody jumps on this patch soon, open a bug with the patch so that
it isn't forgotten.

Mime
View raw message