From f32747ddd06445b5c51aa3f1b56fead48285a735 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 12 Dec 2014 12:53:37 +0100 Subject: [PATCH] tdb/toos: allow transactions with TDB_MUTEX_LOCKING Bug: https://bugzilla.samba.org/show_bug.cgi?id=11004 Signed-off-by: Stefan Metzmacher Reviewed-by: Amitay Isaacs --- lib/tdb/tools/tdbtorture.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/tdb/tools/tdbtorture.c b/lib/tdb/tools/tdbtorture.c index 92786881041..e4b8f6991a7 100644 --- a/lib/tdb/tools/tdbtorture.c +++ b/lib/tdb/tools/tdbtorture.c @@ -120,7 +120,6 @@ static void addrec_db(void) #if TRANSACTION_PROB if (in_transaction == 0 && - ((tdb_get_flags(db) & TDB_MUTEX_LOCKING) == 0) && (always_transaction || random() % TRANSACTION_PROB == 0)) { if (tdb_transaction_start(db) != 0) { fatal("tdb_transaction_start failed"); -- 2.11.4.GIT