[WINESYNC] 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>

wine commit id eb5a803bdbb8f602ae1212674a121cadd24642a5 by Piotr Caban <piotr@codeweavers.com>
This commit is contained in:
winesync 2022-03-13 19:08:41 +01:00 committed by Mark Jansen
parent eb6788c943
commit 8b9aafd97b
No known key found for this signature in database
GPG Key ID: B39240EE84BEAE8B

View File

@ -3217,6 +3217,12 @@ static void test_try_transform(void)
r = MsiCloseHandle(hview);
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 );
ok( r == ERROR_SUCCESS, "return code %d, should be ERROR_SUCCESS\n", r );