Rob Shearman : msi: The HOLD keyword implies a temporary table, whereas database importing should lead to permanent tables, so remove the HOLD keyword.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Apr 24 07:24:03 CDT 2007


Module: wine
Branch: master
Commit: d8cd46ac47c71f96c67c1a25e2c29875c82ab420
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d8cd46ac47c71f96c67c1a25e2c29875c82ab420

Author: Rob Shearman <rob at codeweavers.com>
Date:   Mon Apr 23 08:23:13 2007 +0100

msi: The HOLD keyword implies a temporary table, whereas database importing should lead to permanent tables, so remove the HOLD keyword.

---

 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 ea3e964..875f440 100644
--- a/dlls/msi/database.c
+++ b/dlls/msi/database.c
@@ -423,7 +423,7 @@ static LPWSTR msi_build_createsql_postlude(LPWSTR *primary_keys, DWORD num_keys)
     DWORD size, key_size, i;
 
     static const WCHAR key_fmt[] = {'`','%','s','`',',',' ',0};
-    static const WCHAR postlude_fmt[] = {'P','R','I','M','A','R','Y',' ','K','E','Y',' ','%','s',')',' ','H','O','L','D',0};
+    static const WCHAR postlude_fmt[] = {'P','R','I','M','A','R','Y',' ','K','E','Y',' ','%','s',')',0};
 
     for (i = 0, size = 1; i < num_keys; i++)
         size += lstrlenW(key_fmt) + lstrlenW(primary_keys[i]) - 2;




More information about the wine-cvs mailing list