MSI: modify INSERT call for SetProperty to match new Insert fixes
Aric Stewart
aric at codeweavers.com
Sat Jan 22 02:16:57 CST 2005
The new Insert fixes now properly require ?,? instead of just ? for the
Insert call. This fix modifies the MSI_SetProperty query to be correct.
-------------- next part --------------
Index: dlls/msi/package.c
===================================================================
RCS file: /home/wine/wine/dlls/msi/package.c,v
retrieving revision 1.28
diff -u -u -r1.28 package.c
--- dlls/msi/package.c 20 Jan 2005 10:36:35 -0000 1.28
+++ dlls/msi/package.c 22 Jan 2005 08:16:50 -0000
@@ -101,7 +101,7 @@
'`','_','P','r','o','p','e','r','t','y','`',' ',
'(','`','_','P','r','o','p','e','r','t','y','`',',',
'`','V','a','l','u','e','`',')',' ',
- 'V','A','L','U','E','S',' ','(','?',')',0};
+ 'V','A','L','U','E','S',' ','(','?',',','?',')',0};
/* create the temporary properties table */
rc = MSI_DatabaseOpenViewW(db, CreateSql, &view);
@@ -664,7 +664,7 @@
{'I','N','S','E','R','T',' ','i','n','t','o',' ','`','_','P','r','o','p'
,'e','r','t','y','`',' ','(','`','_','P','r','o','p','e','r','t','y','`'
,',','`','V','a','l','u','e','`',')',' ','V','A','L','U','E','S'
-,' ','(','?',')',0};
+,' ','(','?',',','?',')',0};
static const WCHAR Update[]=
{'U','P','D','A','T','E',' ','_','P','r','o','p','e'
,'r','t','y',' ','s','e','t',' ','`','V','a','l','u','e','`',' ','='
More information about the wine-patches
mailing list