[PATCH 0/1] MR2521: msado15: Handle DBTYPE_STR type when loading recordset data
From: Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- dlls/msado15/recordset.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dlls/msado15/recordset.c b/dlls/msado15/recordset.c index 13807aa1c5a..984edc6eb82 100644 --- a/dlls/msado15/recordset.c +++ b/dlls/msado15/recordset.c @@ -1948,6 +1948,15 @@ static HRESULT load_all_recordset_data(struct recordset *recordset, IUnknown *ro case DBTYPE_I4: V_I4(©) = *(LONG*)(data + bindings[datacol].obValue); break; + case DBTYPE_STR: + { + WCHAR *str = heap_strdupAtoW( (char*)(data + bindings[datacol].obValue) ); + + V_VT(©) = VT_BSTR; + V_BSTR(©) = SysAllocString(str); + free(str); + break; + } case DBTYPE_WSTR: { V_VT(©) = VT_BSTR; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/2521
Hi, It looks like your patch introduced the new failures shown below. Please investigate and fix them before resubmitting your patch. If they are not new, fixing them anyway would help a lot. Otherwise please ask for the known failures list to be updated. The full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=131130 Your paranoid android. === debian11 (build log) === /home/winetest/tools/testbot/var/wine-win32/../wine/dlls/msado15/recordset.c:1953: undefined reference to `heap_strdupAtoW' collect2: error: ld returned 1 exit status Task: The win32 Wine build failed === debian11b (build log) === /home/winetest/tools/testbot/var/wine-wow64/../wine/dlls/msado15/recordset.c:1953: undefined reference to `heap_strdupAtoW' collect2: error: ld returned 1 exit status Task: The wow64 Wine build failed
participants (3)
-
Alistair Leslie-Hughes -
Alistair Leslie-Hughes (@alesliehughes) -
Marvin