tdb: allow transactions on on tdb's with TDB_MUTEX_LOCKING
authorStefan Metzmacher <metze@samba.org>
Fri, 12 Dec 2014 10:22:47 +0000 (11:22 +0100)
committerAmitay Isaacs <amitay@samba.org>
Fri, 19 Dec 2014 08:20:06 +0000 (09:20 +0100)
commitd0839af9d60a6fdf0720cd0b1a859e0e2241903f
tree1cffd4c376b78a76757035e729149db308a99076
parent93b3c157b7538e4610361e3d5491e5f762407b6f
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>
lib/tdb/common/transaction.c