| 75 | } |
| 76 | |
| 77 | SQLRETURN SQL_API SQLGetDiagRec(SQLSMALLINT handle_type, SQLHANDLE handle, |
| 78 | SQLSMALLINT rec_number, SQLWCHAR* sql_state, |
| 79 | SQLINTEGER* native_error_ptr, SQLWCHAR* message_text, |
| 80 | SQLSMALLINT buffer_length, SQLSMALLINT* text_length_ptr) { |
| 81 | return arrow::flight::sql::odbc::SQLGetDiagRec( |
| 82 | handle_type, handle, rec_number, sql_state, native_error_ptr, message_text, |
| 83 | buffer_length, text_length_ptr); |
| 84 | } |
| 85 | |
| 86 | #if defined(__APPLE__) |
| 87 | // macOS ODBC Driver Manager doesn't map SQLError to SQLGetDiagRec, so we need to |
nothing calls this directly
no outgoing calls
no test coverage detected