April 24, 2026
7:32 p.m.
4)odbc32: make sure ODBC_CALL returns SQLRETURN
Not sure about this one, need opinion.
The targeted problem: now ODBC_CALL return SQLRETURN which is truncated from NTSTATUS. If WINE_UNIX_CALL fails at some point, ODBC_CALL returns truncated NTSTATUS error code, STATUS_ACCESS_VIOLATION (0xC0000005) truncated to 5, then function gets invalid SQLRETURN.
We're lost at this point so I don't think there's much value in returning a proper error. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10743#note_137627