https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8b9aafd97bd0e4cdf115f…
commit 8b9aafd97bd0e4cdf115f489d5ba7ce3a6de3f4c
Author: winesync <ros-dev(a)reactos.org>
AuthorDate: Sun Mar 13 19:08:41 2022 +0100
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Sun Mar 20 19:28:31 2022 +0100
[WINESYNC] msi: Test freeing _TransformView table.
Signed-off-by: Piotr Caban <piotr(a)codeweavers.com>
Signed-off-by: Hans Leidekker <hans(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
wine commit id eb5a803bdbb8f602ae1212674a121cadd24642a5 by Piotr Caban
<piotr(a)codeweavers.com>
---
modules/rostests/winetests/msi/db.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/modules/rostests/winetests/msi/db.c b/modules/rostests/winetests/msi/db.c
index 2bf03e1ac61..c49b5e62655 100644
--- a/modules/rostests/winetests/msi/db.c
+++ b/modules/rostests/winetests/msi/db.c
@@ -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 );