Oracle Call Interface Programmer's Guide Release 9.0.1 Part Number A89857-01 |
|
More OCI Relational Functions, 80 of 97
Releases the OCIThread context.
sword OCIThreadTerm ( dvoid *hndl, OCIError *err );
The OCI environment or user session handle.
The OCI error handle. If there is an error and OCI_ERROR is returned, the error is recorded in err and diagnostic information can be obtained by calling OCIErrorGet()
.
This function should be called exactly once for each call made to OCIThreadInit()
.
It is safe to make concurrent calls to OCIThreadTerm()
. OCIThreadTerm()
will not do anything until it has been called as many times as OCIThreadInit()
has been called. When that happens, it terminates the OCIThread layer and frees the memory allocated for the context. Once this happens, the context should not be re-used. It will be necessary to obtain a new one by calling OCIThreadInit()
.
This section describes the transaction functions.
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|