1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +00:00

oledb32: When creating a Data Source, handle non fatal errors.

The Jet4 driver doesn't handle the DBPROP_AUTH_PERSIST_SENSITIVE_AUTHINFO
property which is passed in SetProperties.  On return that property is marked
as DBPROPSTATUS_NOTSUPPORTED and returns DB_S_ERRORSOCCURRED.

In this case, we dont care that isn't not supported and should allow
the DataSource to succeed.
This commit is contained in:
Alistair Leslie-Hughes 2024-06-18 14:54:30 +10:00 committed by Alexandre Julliard
parent 43f6ba56d0
commit 68e8eaa4b7

View File

@ -783,6 +783,11 @@ HRESULT get_data_source(IUnknown *outer, DWORD clsctx, LPCOLESTR initstring, REF
}
hr = IDBProperties_SetProperties(dbprops, 1, propset);
/* Return S_OK for any successful code. */
if (SUCCEEDED(hr))
{
hr = S_OK;
}
IDBProperties_Release(dbprops);
free_dbpropset(1, propset);
if (FAILED(hr))