msi: The HOLD keyword implies a temporary table, whereas database importing should lead to permanent tables, so remove the HOLD keyword.
This commit is contained in:
parent
338568886c
commit
d8cd46ac47
|
@ -423,7 +423,7 @@ static LPWSTR msi_build_createsql_postlude(LPWSTR *primary_keys, DWORD num_keys)
|
||||||
DWORD size, key_size, i;
|
DWORD size, key_size, i;
|
||||||
|
|
||||||
static const WCHAR key_fmt[] = {'`','%','s','`',',',' ',0};
|
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++)
|
for (i = 0, size = 1; i < num_keys; i++)
|
||||||
size += lstrlenW(key_fmt) + lstrlenW(primary_keys[i]) - 2;
|
size += lstrlenW(key_fmt) + lstrlenW(primary_keys[i]) - 2;
|
||||||
|
|
Loading…
Reference in New Issue