Hans Leidekker : msi: Allow read sharing if the package is openend in transacted mode.
Alexandre Julliard
julliard at winehq.org
Mon Jul 25 11:43:14 CDT 2011
Module: wine
Branch: master
Commit: b5ea0030f0ba6beefdba5325e37d85070cfb8935
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b5ea0030f0ba6beefdba5325e37d85070cfb8935
Author: Hans Leidekker <hans at codeweavers.com>
Date: Mon Jul 25 15:58:01 2011 +0200
msi: Allow read sharing if the package is openend in transacted mode.
---
dlls/msi/database.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/database.c b/dlls/msi/database.c
index 333746e..549cb16 100644
--- a/dlls/msi/database.c
+++ b/dlls/msi/database.c
@@ -358,7 +358,7 @@ UINT MSI_OpenDatabaseW(LPCWSTR szDBPath, LPCWSTR szPersist, MSIDATABASE **pdb)
else if( szPersist == MSIDBOPEN_TRANSACT )
{
r = StgOpenStorage( szDBPath, NULL,
- STGM_TRANSACTED|STGM_READWRITE|STGM_SHARE_EXCLUSIVE, NULL, 0, &stg);
+ STGM_TRANSACTED|STGM_READWRITE|STGM_SHARE_DENY_WRITE, NULL, 0, &stg);
}
else if( szPersist == MSIDBOPEN_DIRECT )
{
More information about the wine-cvs
mailing list