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.: http://www.ifi.uio.no/doc/oracle/ora9i/appdev.920/a96584/oci09adv.htm#464310 Chris. -- GPG Key ID: 366A375B GPG Key Fingerprint: 485E 5041 17E1 E2BB C263 E4DE C8E3 FA36 366A 375B
