dpiConn_getLTXID

Function dpiConn_getLTXID 

Source
pub unsafe extern "C" fn dpiConn_getLTXID(
    conn: *mut dpiConn,
    value: *mut *const c_char,
    valueLength: *mut u32,
) -> c_int
Expand description

Returns the logical transaction id for the connection. This value is used in Transaction Guard to determine if the last failed call was completed and if the transaction was committed using the procedure call dbms_app_cont.get_ltxid_outcome().

The function returns DPI_SUCCESS for success and DPI_FAILURE for failure.