From: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> Application was quering for SQL_MAX_COLUMNS_IN_TABLE (101). Let all through and only convert ones that need it. --- dlls/odbc32/proxyodbc.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/dlls/odbc32/proxyodbc.c b/dlls/odbc32/proxyodbc.c index 49e16b1df08..61f0b1b2176 100644 --- a/dlls/odbc32/proxyodbc.c +++ b/dlls/odbc32/proxyodbc.c @@ -1001,13 +1001,8 @@ static SQLRETURN col_attribute_win32_a( struct statement *stmt, SQLUSMALLINT col field_id = SQL_DESC_NULLABLE; break; - case SQL_COLUMN_TYPE: - case SQL_COLUMN_DISPLAY_SIZE: - break; - default: - FIXME( "field id %u not handled\n", field_id ); - return SQL_ERROR; + /* Pass through field id. */ } return stmt->hdr.win32_funcs->SQLColAttributes( stmt->hdr.win32_handle, col, field_id, char_attr, buflen, @@ -6186,13 +6181,8 @@ static SQLRETURN col_attribute_win32_w( struct statement *stmt, SQLUSMALLINT col field_id = SQL_DESC_NULLABLE; break; - case SQL_COLUMN_TYPE: - case SQL_COLUMN_DISPLAY_SIZE: - break; - default: - FIXME( "field id %u not handled\n", field_id ); - return SQL_ERROR; + /* Pass through field id. */ } return stmt->hdr.win32_funcs->SQLColAttributesW( stmt->hdr.win32_handle, col, field_id, char_attr, buflen, -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/6365