tdb2: return TDB_ERR_RDONLY if trying to start a transaction on a R/O tdb.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Aug 2011 04:27:15 +0000 (13:57 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 31 Aug 2011 04:27:15 +0000 (13:57 +0930)
commit91436a25574597dbd1fd2de5bcd5826a234100d6
tree59088fd1a14265015b569c782397151dbfae5775
parent6b7c3c840eafbec211b9f58751c5ff754302a68e
tdb2: return TDB_ERR_RDONLY if trying to start a transaction on a R/O tdb.

This is more accurate than returning TDB_ERR_EINVAL.
ccan/tdb2/transaction.c