2025-05-05 09:07:19 +10:00
|
|
|
From ae7d0e7650782a8a577ef9130b8cb84061db7f51 Mon Sep 17 00:00:00 2001
|
2025-04-26 12:34:21 +10:00
|
|
|
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
|
|
|
|
Date: Sat, 26 Apr 2025 17:35:38 +1000
|
2025-05-05 09:07:19 +10:00
|
|
|
Subject: [PATCH] odbc32: SQLGetStmtAttrW add ANSI fallback
|
2025-04-26 12:34:21 +10:00
|
|
|
|
|
|
|
---
|
|
|
|
dlls/odbc32/proxyodbc.c | 3 ++-
|
|
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/dlls/odbc32/proxyodbc.c b/dlls/odbc32/proxyodbc.c
|
2025-05-05 09:07:19 +10:00
|
|
|
index 0014bb0439f..ca5cd3214cd 100644
|
2025-04-26 12:34:21 +10:00
|
|
|
--- a/dlls/odbc32/proxyodbc.c
|
|
|
|
+++ b/dlls/odbc32/proxyodbc.c
|
2025-05-05 09:07:19 +10:00
|
|
|
@@ -6714,7 +6714,8 @@ static SQLRETURN get_stmt_attr_win32_w( struct statement *stmt, SQLINTEGER attr,
|
2025-04-26 12:34:21 +10:00
|
|
|
{
|
|
|
|
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.47.2
|
|
|
|
|