18 Aug
2024
18 Aug
'24
8:14 a.m.
Hans Leidekker (@hans) commented about dlls/odbccp32/tests/misc.c:
reg_ret = RegDeleteKeyW(HKEY_LOCAL_MACHINE, L"Software\\ODBC\\ODBC.INI\\wineodbc"); ok(reg_ret == ERROR_SUCCESS, "RegDeleteKeyW failed %ld\n", reg_ret);
+ /* Show existing MACHINE DSN is checked before USER */ + ret = SQLWritePrivateProfileStringW(L"wineodbc1", L"testing" , L"value1", L"ODBC.INI"); + ok(ret, "SQLWritePrivateProfileString failed\n");
To test this properly you also need to write a different value with ODBC_USER_DSN set. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6305#note_79057