diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2010-09-13 19:58:23 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2010-09-13 19:58:23 +0930 |
commit | 82e5644c9dbf5c2e4b0c4183372e0a79203d32a5 (patch) | |
tree | a5a6222bc9ba7da944650b7858a423b8037d50b4 /tests/shlib.c | |
parent | 9e0deff904877068d19b41e965732f145c2554b9 (diff) | |
download | samba-82e5644c9dbf5c2e4b0c4183372e0a79203d32a5.tar.gz samba-82e5644c9dbf5c2e4b0c4183372e0a79203d32a5.tar.bz2 samba-82e5644c9dbf5c2e4b0c4183372e0a79203d32a5.zip |
tdb: fix tdb_check() on read-only TDBs to actually work.
Commit bc1c82ea137 "Fix tdb_check() to work with read-only tdb databases."
claimed to do this, but tdb_lockall_read() fails on read-only databases.
Also make sure we can still do tdb_check() inside a transaction (weird,
but we previously allowed it so don't break the API).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'tests/shlib.c')
0 files changed, 0 insertions, 0 deletions