Commit Graph

253 Commits

Author SHA1 Message Date
Frédéric Delanoy
f6a341c747 Assorted spelling/grammar fixes. 2015-03-27 22:29:48 +09:00
Hans Leidekker
fa23c7fcb3 msi: Handle errors from IStorage_CreateStream instead of trying to open the stream first in msi_commit_streams. 2015-03-17 00:19:51 +09:00
Hans Leidekker
0dba391d67 msi: Don't write streams to storage until the database is committed.
Native allows streams to be created with names that exceed the maximum
length allowed by OLE storages. These streams can be used normally, it's
just not possible to commit such a database.
2015-02-13 21:48:21 +09:00
Michael Stefaniuc
481ff775ca msi: Simplify check for an empty string (PVS-Studio). 2014-11-05 19:37:10 +09:00
Frédéric Delanoy
5ba7f79bad Assorted spelling fixes. 2013-12-03 19:41:53 +01:00
Hans Leidekker
1d124f8869 msi/tests: Compile with -D__WINESRC__. 2013-10-15 14:28:22 +02:00
Hans Leidekker
f1498d7736 msi/tests: Prepare db.c for the switch to -D__WINESRC__. 2013-10-15 14:28:21 +02:00
Francois Gouget
7f0cfac5cc msi/tests: Get rid of unneeded function typedefs. 2012-06-15 18:35:37 +02:00
Hans Leidekker
c959e38625 msi: Don't terminate the string in msi_id2stringA.
This makes sure that the last string can be fully written when saving the
string table.
2012-05-31 12:37:22 +02:00
Michael Stefaniuc
49add07795 msi/tests: Test the correct return values. 2012-05-17 10:18:11 +02:00
Andoni Morales Alastruey
342fcb6198 msi: Implement MSIMODIFY_MERGE function in TABLE_modify. 2012-03-28 11:44:52 +02:00
Hans Leidekker
4def593456 msi: Accept a missing left backquote in SQL identifiers. 2012-01-03 18:07:08 +01:00
Hans Leidekker
ca49aae61e msi: Fix handling of single quoted column names in SELECT queries. 2011-12-23 15:12:18 +01:00
Bernhard Loos
dc16dd1351 msi: The underlying tables might have changed, so it's not possible to cache the result of the execute. 2011-09-12 17:45:28 +02:00
Bernhard Loos
a52c2bf941 msi: Make WHEREVIEW able to deal directly with multiple tables. 2011-08-26 13:33:44 +02:00
Bernhard Loos
20bdf059ab msi: MsiDatabaseCommit also succeeds for a a readonly database. 2011-07-28 11:31:28 +02:00
Hans Leidekker
ab13c00fc9 msi: Add support for returning validation errors. 2011-06-07 14:18:33 +02:00
Hans Leidekker
c7e36d8ba8 msi: Unescape ^Q^Y sequences in text archives. 2011-05-12 18:23:00 +02:00
Hans Leidekker
e2ba5dce06 msi: Handle embedded nulls in text archives. 2011-05-12 18:22:54 +02:00
Hans Leidekker
c505c0fe98 msi/tests: Get rid of workarounds for win9x test failures. 2011-03-30 13:28:05 +02:00
David Hedberg
599b30833a msi: Use ordering information to update the correct row. 2011-03-10 15:18:00 +01:00
Austin English
27dd864f63 msi/tests: Make sure to use a return value (LLVM/Clang). 2011-02-11 14:48:19 +01:00
Hans Leidekker
a84af95d3e msi/tests: Consistently test return values (clang). 2011-01-27 16:30:53 +01:00
Hans Leidekker
c3adb72820 msi: Add support for importing and exporting the special _ForceCodepage table. 2010-11-17 14:01:13 +01:00
Hans Leidekker
eaa57c5b7b msi: Compare strings without depending on thread locale. 2010-10-19 13:49:54 +02:00
Hans Leidekker
cf6e820106 msi: Allocate 3 bytes instead of 2 for in-memory string references.
Fixes an installer that stores string references as 2 byte integers and
grows the number of strings beyond the limit of 64k during installation.
2010-10-11 17:11:26 +02:00
Alexandre Julliard
d1d1d0205d msi/tests: Make some variables static. 2010-10-01 13:36:43 +02:00
Hans Leidekker
a0ebe951b6 msi: Read supported platform and language ids from the summary information stream. 2010-09-18 13:06:28 +02:00
Hans Leidekker
148887082c msi/tests: Initialize a string buffer and fix some leaks. 2010-07-23 11:45:39 +02:00
Hans Leidekker
10a32a0b7a msi/tests: Skip tests when the current user has insufficient rights. 2010-07-22 16:10:19 +02:00
Hans Leidekker
dad50e3aa0 msi/tests: Return an error code from helper_createpackage and package_from_db. 2010-07-22 16:09:56 +02:00
Hans Leidekker
73774b3ef8 msi: Disable an optimization in the execution of WHERE clauses.
There's no guarantee that the condition strings are in the string table.
2010-06-11 15:54:35 +02:00
Matijn Woudt
1a159dfddc msi/tests: Testcases for CREATE TABLE. 2010-06-07 15:15:49 +02:00
Hans Leidekker
367c2048a1 msi: Don't crash on null last parameter in MsiDecomposeDescriptor. 2010-03-23 13:24:27 +01:00
Hans Leidekker
1ff9923148 msi: Add summary information stream to the streams table. 2010-02-19 13:06:53 +01:00
Hans Leidekker
f80f1cc2db msi: Accept '\5' and '-' in SQL identifiers. 2010-02-19 13:06:32 +01:00
Hans Leidekker
3d38c07706 msi: Add tests for the _Streams table implementation. 2010-02-04 13:39:29 +01:00
Hans Leidekker
36b654e695 msi: Add tests for updating rows in join tables. 2010-01-22 13:09:15 +01:00
Hans Leidekker
72393c55e9 msi: Add a test to exersize the code to retrieve rows from join tables. 2010-01-19 16:50:56 +01:00
James Hawkins
1a4a112d76 msi: Fix a leaking record handle. 2009-12-16 12:26:51 +01:00
Hans Leidekker
6df6332198 msi: Reject greater than and less than string comparisons in WHERE clauses. 2009-12-15 11:45:04 +01:00
James Hawkins
8fe8a100c8 msi: Free the enumeration data returned by IEnumSTATSTG_Next. 2009-12-14 12:20:48 +01:00
Chris Schafer
350cdd2fe5 msi/tests: Remove some barriers to running msi tests in parallel. 2009-12-11 17:47:30 +01:00
Nathan Gallaher
f7ba4b2ec0 msi/tests: Test for SELECT table.column FROM table.
Make sure that mixing table columns returns the expected
data. eg:  SELECT t1.action, t2.action FROM t1, t2
should return distinct data.
2009-11-24 15:54:00 +01:00
Nate Gallaher
07c321ba73 msi: Test that a query on a join of two tables returns data from the correct table. 2009-10-27 14:01:50 +01:00
Hib Eris
f6ae2507ef msi: Fix table rows order. 2009-10-20 15:57:09 +02:00
Hib Eris
9dddb94b99 msi: Fix merging string type checks. 2009-10-20 15:55:43 +02:00
Hib Eris
925fb3b408 msi/tests: Add tests for rows order. 2009-10-20 15:07:07 +02:00
Hib Eris
8d49633275 msi/tests: Add test for merging string types. 2009-10-20 15:03:39 +02:00
Hib Eris
a3214c978d msi: Fix a failure with merging existing tables. 2009-10-20 15:03:33 +02:00