Function odbc_sys::SQLGetDiagRec

source ·
pub unsafe extern "system" fn SQLGetDiagRec(
    handle_type: HandleType,
    handle: Handle,
    RecNumber: SmallInt,
    state: *mut Char,
    native_error_ptr: *mut Integer,
    message_text: *mut Char,
    buffer_length: SmallInt,
    text_length_ptr: *mut SmallInt
) -> SqlReturn
Expand description

Return the current values of multiple fields of a diagnostic record that contains eror, warning, and status information.

Returns

SUCCESS, SUCCESS_WITH_INFO, ERROR, or INVALID_HANDLE