tdb: allow transactions on on tdb's with TDB_MUTEX_LOCKING
commit953d37311aba4e99cabed707344be5ca95548d24
authorStefan Metzmacher <metze@samba.org>
Fri, 12 Dec 2014 10:22:47 +0000 (12 11:22 +0100)
committerKarolin Seeger <kseeger@samba.org>
Fri, 2 Jan 2015 20:33:10 +0000 (2 21:33 +0100)
treeddc21997cc4bbc31107f316308df9579e549dc25
parent93b73bf8b17176e3056a20c777f16a4c013dcf3a
tdb: allow transactions on on tdb's with TDB_MUTEX_LOCKING

There's no real reason to disallow transactions as the
allrecord lock is also available with mutexes enabled.

E.g. ctdbd requires transactions also on non-persistent databases
opened with TDB_CLEAR_IF_FIRST and TDB_MUTEX_LOCKING.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit d0839af9d60a6fdf0720cd0b1a859e0e2241903f)
lib/tdb/common/transaction.c