From f4cc704e3670031525d247e7c32eaf395dd303ce Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Sat, 26 Apr 2025 17:35:38 +1000 Subject: [PATCH] odbc32: SQLGetStmtAttrW add ANSI fallback --- dlls/odbc32/proxyodbc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/odbc32/proxyodbc.c b/dlls/odbc32/proxyodbc.c index 00d25d06ec2..ab81b0d2bb7 100644 --- a/dlls/odbc32/proxyodbc.c +++ b/dlls/odbc32/proxyodbc.c @@ -6785,7 +6785,8 @@ static SQLRETURN get_stmt_attr_win32_w( struct statement *stmt, SQLINTEGER attr, { if (stmt->hdr.win32_funcs->SQLGetStmtAttrW) return stmt->hdr.win32_funcs->SQLGetStmtAttrW( stmt->hdr.win32_handle, attr, value, buflen, retlen ); - if (stmt->hdr.win32_funcs->SQLGetStmtAttr) FIXME( "Unicode to ANSI conversion not handled\n" ); + if (stmt->hdr.win32_funcs->SQLGetStmtAttr) + return stmt->hdr.win32_funcs->SQLGetStmtAttr( stmt->hdr.win32_handle, attr, value, buflen, retlen ); return SQL_ERROR; } -- 2.50.1