X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftdb%2Ftest%2Fexternal-transaction.c;h=23d8471386413f39a2d7a7d311ad13c3e22b0021;hp=0a0b4b87685f03803c4b66e01bd172e818c5086d;hb=729fc5b931c8eb26f192399d8aa7064f9af058df;hpb=497e23b21fe7dc8256c23f79f14cdb4c3e86cc9e diff --git a/ccan/tdb/test/external-transaction.c b/ccan/tdb/test/external-transaction.c index 0a0b4b87..23d84713 100644 --- a/ccan/tdb/test/external-transaction.c +++ b/ccan/tdb/test/external-transaction.c @@ -76,11 +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) { -#if 0 - return tdb_maybe_needs_recovery(tdb); -#else - return 0; -#endif + return tdb_needs_recovery(tdb); } alarmed = 0;