msi: Fix MsiSummaryInfoPersist not saving data to disk

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55859
This commit is contained in:
Fabian Maurer 2024-11-18 00:06:54 +01:00
parent 28013116c1
commit ab93b8d31b
2 changed files with 1 additions and 2 deletions

View file

@ -515,7 +515,7 @@ UINT WINAPI MsiGetSummaryInformationW( MSIHANDLE hDatabase, const WCHAR *szDatab
if( szDatabase && szDatabase[0] )
{
LPCWSTR persist = uiUpdateCount ? MSIDBOPEN_TRANSACT : MSIDBOPEN_READONLY;
LPCWSTR persist = uiUpdateCount ? MSIDBOPEN_DIRECT : MSIDBOPEN_READONLY;
ret = MSI_OpenDatabaseW( szDatabase, persist, &db );
if( ret != ERROR_SUCCESS )

View file

@ -339,7 +339,6 @@ static void test_suminfo(void)
strcpy(buf,"x");
r = MsiSummaryInfoGetPropertyA(hsuminfo, PID_AUTHOR, &type, NULL, NULL, buf, &sz);
ok(r == ERROR_SUCCESS, "MsiSummaryInfoGetPropertyA wrong error\n");
todo_wine
ok(!strcmp(buf,"Fabian"), "buffer was wrong: %s\n", buf);
r = MsiCloseHandle(hsuminfo);