summaryrefslogtreecommitdiff
path: root/lib/tdb2/test
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2011-09-14 07:17:13 +0930
committerRusty Russell <rusty@rustcorp.com.au>2011-09-14 07:17:13 +0930
commit73e4f35e3d4dd7043a140355e4cd0f10f54c7337 (patch)
tree193cd02c733346d5db787d62a08193e602f7717d /lib/tdb2/test
parentbdc5499205367eccef5700cba8af95ba941ac9b2 (diff)
downloadsamba-73e4f35e3d4dd7043a140355e4cd0f10f54c7337.tar.gz
samba-73e4f35e3d4dd7043a140355e4cd0f10f54c7337.tar.bz2
samba-73e4f35e3d4dd7043a140355e4cd0f10f54c7337.zip
tdb_compat: make tdb2s temporarily read-only for tdb_traverse_read()
It doesn't make a difference unless the tdb2 opens a TDB1 on disk, in which case tdb1_traverse() takes a write lock on the entire file. By setting the tdb to read-only first, we simulate the old behaviour. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/tdb2/test')
0 files changed, 0 insertions, 0 deletions