git.samba.org
/
jarrpa
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28f8439
)
dbwrap: enable mutexes by default for volatile TDBs
author
Ralph Boehme
<slow@samba.org>
Sun, 9 Jul 2017 14:23:20 +0000
(16:23 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Mon, 24 Jul 2017 20:00:38 +0000
(22:00 +0200)
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12891
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit
a70be43246ab74f0a2bbe245ab31f24460b70547
)
source3/lib/dbwrap/dbwrap_open.c
patch
|
blob
|
history
diff --git
a/source3/lib/dbwrap/dbwrap_open.c
b/source3/lib/dbwrap/dbwrap_open.c
index 55e0adb7b7198cfacb4c025a3804f42c8029a050..801ebcbde4ca3b56c24d4a4604f0117d23c03a29 100644
(file)
--- a/
source3/lib/dbwrap/dbwrap_open.c
+++ b/
source3/lib/dbwrap/dbwrap_open.c
@@
-98,7
+98,7
@@
struct db_context *db_open(TALLOC_CTX *mem_ctx,
if (tdb_flags & TDB_CLEAR_IF_FIRST) {
const char *base;
- bool try_mutex =
fals
e;
+ bool try_mutex =
tru
e;
bool require_mutex = false;
base = strrchr_m(name, '/');