]> git.ozlabs.org Git - ccan/commitdiff
tdb2: add TDB_RDONLY flag, allow setting/unsetting it.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Aug 2011 04:28:15 +0000 (13:58 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Aug 2011 04:28:15 +0000 (13:58 +0930)
You can only unset it if the TDB was originally opened O_RDWR.

Also, cleaned up error handling in tdb_allrecord_lock() so we only get
one log message on a r/o database.


No differences found