tdb: Allow !CLEAR_IF_FIRST & MUTEX_LOCKING
authorVolker Lendecke <vl@samba.org>
Mon, 22 Oct 2018 06:57:00 +0000 (08:57 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 6 Nov 2018 17:57:26 +0000 (18:57 +0100)
commit72ec893d0aaa518a2cf22aa68b16c3907a17dfc8
tree2af45b44336cfeb3e7615646c638ade95ac8c6d9
parente814fb6bcba8687dafb7d0d1654df8225b2e6229
tdb: Allow !CLEAR_IF_FIRST & MUTEX_LOCKING

This is a prerequisite to allow gencache to run on a non-transactioned
database with mutexes.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/tdb/common/open.c
lib/tdb/test/run-mutex-openflags2.c