apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Darroch <chr...@pearsoncmg.com>
Subject Re: [PATCH] apr_dbd_oracle.c query/select fixes #37664
Date Mon, 12 Jun 2006 13:28:02 GMT
Nick Kew wrote:

>>    The OCIStmtRelease() function should only be used if Oracle statement
>> handles have been prepared with OCIStmtPrepare2(), which is only available
>> in Oracle 9.2 and above.  For now, stick with just OCIHandleFree() and put 
>> the stuff related to OCIStmtRelease() into unused #ifdef blocks in the
>> freeStatement() and freeStatements() APR memory pool callback cleanup
>> functions.  Note that when OCIStmtRelease() is used in the future,
>> OCIHandleFree() should not be used because OCIStmtRelease() will do that
>> for you.
> OK.
> Out of interest, where did you find that information?

   See the "Rules for Statement Caching" in the OCI 9.2 docs; e.g.:



GPG Key ID: 366A375B
GPG Key Fingerprint: 485E 5041 17E1 E2BB C263  E4DE C8E3 FA36 366A 375B

View raw message