Mike McCormack
175c407bfc
msi: Make msi_makestring static.
2006-10-10 16:11:42 +02:00
Mike McCormack
2d48706d74
msi: Fix a memory leak.
2006-10-10 12:56:05 +02:00
Mike McCormack
07c85fe895
msi: Avoid reading the transform table data twice.
2006-10-10 12:55:57 +02:00
Mike McCormack
4d41a2b9ee
msi: Fix transform traces.
2006-10-06 12:54:30 +02:00
Mike McCormack
92cc0bc0c2
msi: Work around what appears to be a bug in native MSI's generation of transform data.
2006-10-06 12:54:21 +02:00
Mike McCormack
f53ba3ca58
msi: Transform the _Columns and _Tables tables first so the table metadata is present for new tables.
2006-10-06 12:54:13 +02:00
Mike McCormack
2c626c9d81
msi: Handle null integers properly in transforms.
2006-10-06 12:53:58 +02:00
Mike McCormack
59edd7d8a8
msi: Only ignore the StringPool and StringData in a transform.
2006-10-05 11:33:07 +02:00
Mike McCormack
2af5ed571a
msi: Only declare the szStringData and szStringPool strings once.
2006-10-05 11:33:00 +02:00
Mike McCormack
8d7bbd1809
msi: Remove an unused variable.
2006-10-05 11:32:51 +02:00
Mike McCormack
f1d4646a49
msi: Win64 printf format warning fixes.
2006-10-05 11:32:32 +02:00
Mike McCormack
60d92d42a3
msi: Fix a couple of test cases for MsiDatabaseIsTablePersistent.
2006-09-13 12:19:54 +02:00
Mike McCormack
00fdc6cb80
msi: Use msi_string_lookup_id instead of msi_id2stringW where possible.
2006-09-08 12:44:23 +02:00
Mike McCormack
533833b4e1
msi: Validate database fields before inserting them.
2006-09-07 11:00:32 +02:00
Mike McCormack
5f832b2731
msi: Fix writing of long strings to the database.
2006-08-28 11:49:21 +02:00
Mike McCormack
089411747b
msi: Fix strings with lengths that are exact multiples of 2^16.
2006-08-24 14:09:08 +02:00
Mike McCormack
65d12c342d
msi: Fix the value of LONG integers in records (suggested by James Hawkins).
2006-07-27 11:57:12 +02:00
James Hawkins
5842af1b95
msi: Fix a typo.
2006-07-27 11:43:22 +02:00
Dmitry Timoshkov
081563e7ec
Avoid non-portable WCHAR[] constructs.
2006-07-05 11:43:55 +02:00
Mike McCormack
cfe36cc81d
msi: Fix loading of long strings.
2006-06-13 12:56:42 +02:00
Alexandre Julliard
9a59ee76e4
msi: Make all the ops structures static and const.
2006-06-10 12:02:39 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Mike McCormack
819815d66c
msi: Use a debug channel to turn on transform debugging.
2006-04-07 20:00:45 +02:00
Mike McCormack
85e8d3adf8
msi: Fix possible free of uninitialized pointer.
2006-04-07 11:45:29 +02:00
Robert Shearman
9f487ba1de
msi: Optimise WHERE operations.
...
Optimise WHERE operations on matching against strings by adding a new
function find_matching_rows to the views, which eliminates the need to
examine every record when executing a query. Implement this function
in the table using a hash table on the ID stored in the data.
2006-03-20 12:03:04 +01:00
Robert Shearman
66c9cbbe0f
msi: Fix heap overflow in save_string_table.
...
Fix heap overflow caused by not accounting for the dummy first item,
which contains the codepage.
2006-02-22 22:15:12 +01:00
Francois Gouget
0edbaf7e80
Remove spaces before '\n' in traces.
2005-11-10 12:14:56 +00:00
Mike McCormack
50684c15d5
Create the +msidb debug channel for msi database code.
2005-11-02 14:24:21 +00:00
Mike McCormack
29c93e431d
Deleted two buggy functions that incorrectly and inefficiently check
...
whether a row already exists in a table, and replaced them with a call
to an existing working function that does the same thing correctly.
2005-10-29 11:07:29 +00:00
Mike McCormack
1cd26d25fc
Implement transforms. This still includes some debugging code which
...
can be enabled by setting debug_transform to 1 in the relevant
places.
2005-10-27 12:25:04 +00:00
Mike McCormack
f8fef6ea94
Create a stub function to apply a single table transform and call it
...
where we need to apply transforms.
2005-10-26 13:56:33 +00:00
Mike McCormack
8e74308a10
Fix and test MsiViewGetColumnInfo and binary fields.
2005-09-28 11:59:40 +00:00
Mike McCormack
fbbb32d6d1
Create a function to determine the table's row size and use it.
...
Fix a memory leak in the table code.
2005-09-26 13:25:48 +00:00
Mike McCormack
1c5967c48c
Load a table's column information separately from the table itself.
2005-09-22 10:34:07 +00:00
Mike McCormack
7d7da60db4
Don't refcount tables.
2005-09-21 10:20:20 +00:00
Mike McCormack
ee034ba4c2
Added memory allocation inline functions (part 2).
2005-09-20 11:59:14 +00:00
Mike McCormack
230e71cc18
Fix memory leaks in the table code.
2005-09-17 14:29:38 +00:00
Mike McCormack
6b5f290d75
Make load_string_table return the string table.
2005-09-16 19:01:40 +00:00
Mike McCormack
5f1b258c9c
Convert the list of tables to a standard list.
2005-09-14 10:07:26 +00:00
Mike McCormack
8a8c561cfa
- the combination of all table keys must be unique, not each key
...
- MsiViewExecute may not be called before MsiModifyView
2005-08-29 10:16:12 +00:00
Mike McCormack
e8d1a167df
Implement MsiModifyView (MSIMODIFY_INSERT_TEMPORARY).
2005-08-24 11:10:23 +00:00
Mike McCormack
bcd8fa3c78
Handle loading strings over 64k from the string table.
2005-08-08 11:01:56 +00:00
Mike McCormack
64de949cdd
More -Wmissing-declarations and -Wwrite-strings warning fixes.
2005-05-31 09:30:28 +00:00
Juan Lang
806be361d0
Turn handled errors from ERRs to WARNs or TRACEs.
2005-05-20 19:16:50 +00:00
Mike McCormack
bd07966c8f
Avoid some non-standard str functions.
2005-05-11 12:58:22 +00:00
Mike McCormack
95dea4969a
- Rename dupstrW to strdupW, and remove duplicate definition.
...
- Move definition of string manipulation functions to msipriv.h.
2005-03-16 11:31:35 +00:00
Mike McCormack
e2df8814ea
Allow MsiViewExecute to be called twice on the same query.
2005-02-16 16:06:05 +00:00
Francois Gouget
4d801b66e6
Assorted spelling fixes.
2005-02-10 19:19:35 +00:00
Mike McCormack
ef1d367bcc
Fix MsiModifyView and MsiViewGetColumnInfo to use MSIRECORD* not MSIHANDLE.
2005-02-08 13:44:25 +00:00
Francois Gouget
da8b3dd7f2
Assorted spelling fixes.
2005-01-26 21:09:04 +00:00