Commit Graph

104 Commits

Author SHA1 Message Date
Francois Gouget 4017334ed4 msi/tests: Add missing '\n' to ok() call. 2007-04-30 12:34:58 +02:00
James Hawkins da55285acb msi: Implement special handling for the _Streams table. 2007-04-25 12:44:37 +02:00
Rob Shearman 697d820eee msi: All columns being temporary means the table is non-persistent.
The HOLD keyword just means that the non-persistent data in the table 
should be kept around, not that the table is temporary.
2007-04-24 12:25:36 +02:00
Rob Shearman 44f7cb8858 msi: Add a persistent flag to tables.
Implement MSI_DatabaseIsTablePersistent.
2007-04-24 12:25:25 +02:00
Rob Shearman a33cc3d859 msi: Don't add info to the _Columns table for non-persistent tables. 2007-04-24 12:24:59 +02:00
James Hawkins d677bd7f3b msi: Return MSICONDITION_NONE in MsiDatabaseIsTablePersistent if the table doesn't exist. 2007-04-23 14:00:24 +02:00
Francois Gouget d9e8a0f63e Remove unneeded checks on the GetModuleHandle() return value for cases where we are linked with the dll. 2007-03-28 12:36:13 +02:00
James Hawkins a40d687133 msi: Add tests for using markers in SELECT clauses. 2007-02-26 13:56:24 +01:00
Marcus Meissner f0280cbd1e made functions and variables static in some testcases. 2006-12-11 12:18:29 +01:00
Mike McCormack 08d1398d97 msi: Double quotes are not valid in queries. 2006-12-04 12:41:08 +01:00
Mike McCormack ef1af6ada7 msi: Add tests for quoting in queries. 2006-12-04 12:40:59 +01:00
Mike McCormack 2f2143b4ec msi: Add a test showing which tables are special. 2006-11-17 11:14:31 +01:00
Francois Gouget 30e44c85c8 Assorted spelling fixes. 2006-11-07 15:25:24 +01:00
Mike McCormack 50e5caeb6c msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 15:06:57 +01:00
Mike McCormack 2b943bfddc msi: Fix regression tests failing on Windows. 2006-11-07 15:06:49 +01:00
Mike McCormack aaa0dc0425 msi: Fix a handle leak in the tests. 2006-11-02 12:25:00 +01:00
Mike McCormack d65e80c85e msi: Add a test showing a join doesn't need a WHERE clause. 2006-10-31 11:57:46 +01:00
Mike McCormack c6124db905 msi: Use a simpler algorithm for joins. 2006-10-31 11:57:40 +01:00
Mike McCormack 8fc5fbe7ab msi: Test the data returned by join queries in one ok(). 2006-10-31 11:57:23 +01:00
Mike McCormack 57443e0112 msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 11:56:49 +01:00
Mike McCormack 1582f58036 msi: Fix the join algorithm. 2006-10-26 12:56:10 +02:00
Mike McCormack 6c95dc644c msi: Allow UPDATE queries without a condition. 2006-10-26 12:56:10 +02:00
Mike McCormack 4a32845a56 msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 12:56:09 +02:00
James Hawkins 62aedea856 msi: Add tests for the UPDATE sql command. 2006-10-26 12:56:09 +02:00
Mike McCormack f6c7ae6a0c msi: Fix insertion of null integers into a table. 2006-10-23 12:38:56 +02:00
Mike McCormack 8858011375 msi: Add the column type INTEGER as an alias for INT. 2006-10-23 12:38:51 +02:00
James Hawkins fcd57a3fc4 msi: Add tests for integer column types. 2006-10-20 11:41:09 +02:00
James Hawkins 279f8158f8 msi: Integer columns can have the 'NOT NULL' modifier too. 2006-10-20 11:41:09 +02:00
James Hawkins a66584e1a2 msi: Allow more than one primary key in a table when importing a database. 2006-10-20 11:41:09 +02:00
Alexandre Julliard 11894cc77e msi/tests: Make sure to delete the test data file. 2006-10-18 11:51:05 +02:00
Mike McCormack 98a42ad575 msi: Fix tables with binary data where the key is an integer. 2006-10-17 11:17:43 +02:00
Mike McCormack 1f737c035e msi: Stream fields shouldn't be treated as strings. 2006-10-17 11:17:34 +02:00
Mike McCormack fbddd9060f msi: Add a test for modifying a table containing binary data. 2006-10-17 11:16:45 +02:00
Mike McCormack 9187951ac7 msi: Handle the sign properly when converting integer data. 2006-10-12 14:58:39 +02:00
Mike McCormack 60ea01a4f2 msi: Test transforms removing a row in a table. 2006-10-12 11:32:36 +02:00
Mike McCormack 8f56ae8b3a msi: Tests for transforms modifying rows in a table. 2006-10-12 11:32:27 +02:00
Mike McCormack ee55546d34 msi: Check that transforms return the correct data. 2006-10-11 12:09:32 +02:00
Michael Ploujnikov e86296a47f msi/tests: Win64 printf format warning fixes. 2006-10-10 13:36:49 +02:00
Mike McCormack e9c5e93fda msi: Fix handle leaks in the test cases. 2006-10-10 12:10:18 +02:00
Mike McCormack 2e19d49538 msi: Check that transforms preserve tables. 2006-10-05 11:32:27 +02:00
James Hawkins 6be7ba7546 msi: Implement MsiDatabaseImport. 2006-10-03 20:18:38 +02:00
Benjamin Arai 4195697cc1 msi: Adds test to check "JOIN" operator with "*" operator for the SELECT clause returns the correct results. 2006-09-21 11:26:13 +02:00
Benjamin Arai a35ff56580 msi: Adds test to check if basic "JOIN" operator without "WHERE" clause returns the correct results. 2006-09-21 11:26:05 +02:00
Benjamin Arai f84c1463c1 msi: Adds test to check if "AND" operator returns the correct result for the "WHERE" clause. 2006-09-20 20:04:21 +02:00
Benjamin Arai 32d002c7ed msi: Adds tests to check if joins return the correct number of rows. 2006-09-20 20:04:01 +02:00
Benjamin Arai d4c6b06ed7 msi: Updates tests for joins to include row and column ids in message. 2006-09-20 20:03:54 +02:00
Mike McCormack 60d92d42a3 msi: Fix a couple of test cases for MsiDatabaseIsTablePersistent. 2006-09-13 12:19:54 +02:00
Mike McCormack 61c1dd2b32 msi: Add a test for ALTER TABLE. 2006-09-13 11:44:06 +02:00
Mike McCormack b4005c15f0 msi: Fix database creation. 2006-09-13 11:43:11 +02:00
James Hawkins bfc1b5c15f msi: Add more join tests. 2006-09-13 11:36:54 +02:00