diff options
author | Stefan Metzmacher <metze@samba.org> | 2014-12-12 12:53:37 +0100 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2014-12-19 09:20:07 +0100 |
commit | f32747ddd06445b5c51aa3f1b56fead48285a735 (patch) | |
tree | 50cec16a80bc7768db31cde1850aa04adb52ded8 /lib | |
parent | 5d5d91fae55a806261375b87bf7109a980471799 (diff) | |
download | samba-f32747ddd06445b5c51aa3f1b56fead48285a735.tar.gz samba-f32747ddd06445b5c51aa3f1b56fead48285a735.tar.xz samba-f32747ddd06445b5c51aa3f1b56fead48285a735.zip |
tdb/toos: allow transactions with 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>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tdb/tools/tdbtorture.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/tdb/tools/tdbtorture.c b/lib/tdb/tools/tdbtorture.c index 9278688104..e4b8f6991a 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"); |