]> git.ozlabs.org Git - ccan/commit
tdb: fix tdb_check() on read-only TDBs to actually work.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 13 Sep 2010 09:08:20 +0000 (18:38 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 13 Sep 2010 09:08:20 +0000 (18:38 +0930)
commitba2cc03f0648101ca0be687ae70947e7ae331f4c
treebba06f2d56944c51a737ff14115ed4ef8947cb33
parent550246bb457561fb8bffe909c54467090a11011a
tdb: fix tdb_check() on read-only TDBs to actually work.

But make sure we can still do tdb_check() inside a transaction (weird,
but we previously allowed it).
ccan/tdb/check.c
ccan/tdb/test/run-readonly-check.c [new file with mode: 0644]