tdb/test: TDB_CLEAR_IF_FIRST | TDB_MUTEX_LOCKING, O_RDONLY is a valid combination
authorStefan Metzmacher <metze@samba.org>
Tue, 2 Dec 2014 07:39:05 +0000 (08:39 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 2 Dec 2014 08:31:08 +0000 (09:31 +0100)
commit6244346c11c40b3ed39ee626e1d27c75a29b7430
tree69e88848b8368fc77047fe962d2aab9be5b922d3
parent87d39a82048474e43045515bf5c8192bc20ba668
tdb/test: TDB_CLEAR_IF_FIRST | TDB_MUTEX_LOCKING, O_RDONLY is a valid combination

This used to be invalid in the early developement code, but now we're
able to open a tdb with mutex area and TDB_NOLOCK without problems.
O_RDONLY implies TDB_NOLOCK...

This should have been part of commit c8d05e934ea03fffbc34944d2d51a016b89a7eca.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10781

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
lib/tdb/test/run-mutex-openflags2.c