apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Ruppert ...@myarm.com>
Subject [PATCH] apr_dbd_oracle.c escape string implementation
Date Wed, 07 Sep 2011 09:17:14 GMT
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.

Regards,
Stefan

-- 
Stefan Ruppert <stefan.ruppert@myarm.com>
MyARM GmbH, Altkönigstr. 7, 65830 Kriftel, Germany
Phone: +49 6192/9772818
Web: http://www.myarm.com

Mime
View raw message