summaryrefslogtreecommitdiffstats
path: root/tests/testrecord.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testrecord.c')
-rw-r--r--tests/testrecord.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testrecord.c b/tests/testrecord.c
index 286c791..1542204 100644
--- a/tests/testrecord.c
+++ b/tests/testrecord.c
@@ -374,7 +374,7 @@ static void test_fieldzero (void)
g_object_unref (rec);
- hdb = libmsi_database_new(msifile, LIBMSI_DB_OPEN_CREATE, NULL);
+ hdb = libmsi_database_new(msifile, LIBMSI_DB_FLAGS_CREATE, NULL, NULL);
ok (hdb, "libmsi_database_open failed\n");
query = "CREATE TABLE `drone` ( "