Rebase against 226a7eeabbc13345e49da1ff8c018d6f06211c66.

This commit is contained in:
Alistair Leslie-Hughes
2025-05-06 07:55:00 +10:00
parent e855d43a60
commit 2cd8221624
2 changed files with 1 additions and 34 deletions

View File

@@ -1,33 +0,0 @@
From f9dc463e820b2b8840ef1b98957ba6f9b67d8e32 Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Date: Mon, 5 May 2025 09:29:17 +1000
Subject: [PATCH 1/4] odbc32: SQLColAttributesW accept field id
SQL_COLUMN_NAME.
---
dlls/odbc32/proxyodbc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/odbc32/proxyodbc.c b/dlls/odbc32/proxyodbc.c
index 76c104e3a4a..ce69e3ae134 100644
--- a/dlls/odbc32/proxyodbc.c
+++ b/dlls/odbc32/proxyodbc.c
@@ -1028,6 +1028,7 @@ static SQLRETURN col_attribute_win32_a( struct statement *stmt, SQLUSMALLINT col
field_id = SQL_COLUMN_NAME;
break;
+ case SQL_COLUMN_NAME:
case SQL_COLUMN_TYPE:
case SQL_COLUMN_DISPLAY_SIZE:
case SQL_MAX_COLUMNS_IN_TABLE:
@@ -6386,6 +6387,7 @@ static SQLRETURN col_attribute_win32_w( struct statement *stmt, SQLUSMALLINT col
field_id = SQL_COLUMN_NAME;
break;
+ case SQL_COLUMN_NAME:
case SQL_COLUMN_TYPE:
case SQL_COLUMN_DISPLAY_SIZE:
case SQL_MAX_COLUMNS_IN_TABLE:
--
2.47.2

View File

@@ -1 +1 @@
71c6c3dd6dcfffc040aa5a10a825eeb8e17f6299
226a7eeabbc13345e49da1ff8c018d6f06211c66