tdb: handle processes dying during transaction commit.
[ccan] / ccan / tdb / test / external-transaction.c
index 37dd50841eb14b66d00d8b01dd435a5eaaa9a681..23d8471386413f39a2d7a7d311ad13c3e22b0021 100644 (file)
@@ -76,7 +76,7 @@ static int do_operation(enum operation op, const char *name)
        } else if (op == CHECK_KEEP_OPENED) {
                return tdb_check(tdb, NULL, 0) == 0;
        } else if (op == NEEDS_RECOVERY_KEEP_OPENED) {
-               return tdb_maybe_needs_recovery(tdb);
+               return tdb_needs_recovery(tdb);
        }
 
        alarmed = 0;