dpiConn_release

Function dpiConn_release 

Source
pub unsafe extern "C" fn dpiConn_release(conn: *mut dpiConn) -> c_int
Expand description

Releases a reference to the connection. A count of the references to the connection is maintained and when this count reaches zero, the memory associated with the connection is freed and the connection is closed or released back to the session pool if that has not already taken place using the function dpiConn_close().

The function returns DPI_SUCCESS for success and DPI_FAILURE for failure.