diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2011-09-14 08:11:13 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-09-14 08:11:13 +0930 |
commit | 85fe9cffe529fd6a8c76ca5f0e3c68c090ce25bf (patch) | |
tree | b115b236b8c142833137041a5804ee2e549f0f3c /lib/tdb2/test/run-tdb1-check.c | |
parent | 26f3587d4bf60fe3c82084a7661c4f856534725f (diff) | |
download | samba-85fe9cffe529fd6a8c76ca5f0e3c68c090ce25bf.tar.gz samba-85fe9cffe529fd6a8c76ca5f0e3c68c090ce25bf.tar.bz2 samba-85fe9cffe529fd6a8c76ca5f0e3c68c090ce25bf.zip |
tdb2: return TDB_ERR_RDONLY from transactions on R/O databases, log nesting
Rather than rturning TDB_ERR_EINVAL, return TDB_ERR_RDONLY, and log
when we fail due to nesting.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(Imported from CCAN commit 27647f94668040d91de377849dce87dabd72be69)
Diffstat (limited to 'lib/tdb2/test/run-tdb1-check.c')
0 files changed, 0 insertions, 0 deletions