macOS ODBC Driver Manager doesn't map SQLError to SQLGetDiagRec, so we need to implement SQLError for macOS. on Windows, SQLError mapping implemented by Driver Manager is preferred.
| 88 | // implement SQLError for macOS. |
| 89 | // on Windows, SQLError mapping implemented by Driver Manager is preferred. |
| 90 | SQLRETURN SQL_API SQLError(SQLHENV env, SQLHDBC conn, SQLHSTMT stmt, SQLWCHAR* sql_state, |
| 91 | SQLINTEGER* native_error_ptr, SQLWCHAR* message_text, |
| 92 | SQLSMALLINT buffer_length, SQLSMALLINT* text_length_ptr) { |
| 93 | return arrow::flight::sql::odbc::SQLError(env, conn, stmt, sql_state, native_error_ptr, |
| 94 | message_text, buffer_length, text_length_ptr); |
| 95 | } |
| 96 | #endif // __APPLE__ |
| 97 | |
| 98 | SQLRETURN SQL_API SQLGetEnvAttr(SQLHENV env, SQLINTEGER attr, SQLPOINTER value_ptr, |
nothing calls this directly
no outgoing calls
no test coverage detected