[PATCH] odbccp32: Map system DSN requests to user DSN requests in SQLConfigDataSource.

Hans Leidekker hans at codeweavers.com
Thu Nov 12 05:09:43 CST 2020


On Thu, 2020-11-12 at 21:57 +1100, Alistair Leslie-Hughes wrote:
> Based off MSDN for function SQLConfigDataSource. The mode is explicitly 
> set to ODBC_USER_DSN or ODBC_SYSTEM_DSN and reset to ODBC_BOTH_DSN at 
> the end  of the function.
> 
> https://docs.microsoft.com/en-us/sql/odbc/reference/syntax/sqlconfigdatasource-function?view=sql-server-ver15

Yes, I am currently restoring the old value, which is ODBC_BOTH_DSN,
unless the app changed the default. I think that makes more sense than
returning a hardcoded ODBC_BOTH_DSN.





More information about the wine-devel mailing list