tdb: new test, cleanup old tests by centralizing lock tracking.
[ccan] / ccan / tdb / test / external-transaction.c
index 37dd50841eb14b66d00d8b01dd435a5eaaa9a681..0a0b4b87685f03803c4b66e01bd172e818c5086d 100644 (file)
@@ -76,7 +76,11 @@ 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) {
+#if 0
                return tdb_maybe_needs_recovery(tdb);
+#else
+               return 0;
+#endif
        }
 
        alarmed = 0;