[][src]Function odbc_sys::SQLGetDiagRec

pub unsafe extern "system" fn SQLGetDiagRec(
    handle_type: HandleType,
    handle: SQLHANDLE,
    RecNumber: SQLSMALLINT,
    state: *mut SQLCHAR,
    native_error_ptr: *mut SQLINTEGER,
    message_text: *mut SQLCHAR,
    buffer_length: SQLSMALLINT,
    text_length_ptr: *mut SQLSMALLINT
) -> SQLRETURN

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

Returns

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, or SQL_INVALID_HANDLE