msi: Test freeing _TransformView table.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7200257d04
commit
eb5a803bdb
|
@ -3217,6 +3217,12 @@ static void test_try_transform(void)
|
||||||
r = MsiCloseHandle(hview);
|
r = MsiCloseHandle(hview);
|
||||||
ok(r == ERROR_SUCCESS, "MsiCloseHandle failed\n");
|
ok(r == ERROR_SUCCESS, "MsiCloseHandle failed\n");
|
||||||
|
|
||||||
|
query = "ALTER TABLE `_TransformView` FREE";
|
||||||
|
r = run_query( hdb, 0, query );
|
||||||
|
ok( r == ERROR_SUCCESS, "cannot free _TransformView table: %d\n", r );
|
||||||
|
r = run_query( hdb, 0, query );
|
||||||
|
ok( r == ERROR_BAD_QUERY_SYNTAX, "_TransformView table still exist: %d\n", r );
|
||||||
|
|
||||||
r = MsiDatabaseApplyTransformA( hdb, mstfile, 0 );
|
r = MsiDatabaseApplyTransformA( hdb, mstfile, 0 );
|
||||||
ok( r == ERROR_SUCCESS, "return code %d, should be ERROR_SUCCESS\n", r );
|
ok( r == ERROR_SUCCESS, "return code %d, should be ERROR_SUCCESS\n", r );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue