dbwrap: add a dbwrap_flags argument to db_open()
[samba.git] / source3 / torture / torture.c
index 1d915fc62c7810e39bf159e2c11591fddb5758e8..1f29a706774edd3ace87c8b97cbb20c2734de6db 100644 (file)
@@ -9066,7 +9066,8 @@ static bool run_local_dbtrans(int dummy)
        TDB_DATA value;
 
        db = db_open(talloc_tos(), "transtest.tdb", 0, TDB_DEFAULT,
-                    O_RDWR|O_CREAT, 0600, DBWRAP_LOCK_ORDER_1);
+                    O_RDWR|O_CREAT, 0600, DBWRAP_LOCK_ORDER_1,
+                    DBWRAP_FLAG_NONE);
        if (db == NULL) {
                printf("Could not open transtest.db\n");
                return false;