git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
247563e
)
dbwrap3: Call dbwrap_local_open with the correct tdb flags
author
Volker Lendecke
<vl@samba.org>
Tue, 17 Apr 2018 14:32:20 +0000
(16:32 +0200)
committer
Jeremy Allison
<jra@samba.org>
Mon, 23 Apr 2018 23:53:19 +0000
(
01:53
+0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
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 d6c19e3d10796a6062e78151f4d51d06844a63e6..e05e011d0d4f1de1b4e0a49b749f6f52f72913ab 100644
(file)
--- a/
source3/lib/dbwrap/dbwrap_open.c
+++ b/
source3/lib/dbwrap/dbwrap_open.c
@@
-186,6
+186,7
@@
struct db_context *db_open(TALLOC_CTX *mem_ctx,
if (hash_size == 0) {
hash_size = lpcfg_tdb_hash_size(lp_ctx, name);
}
+ tdb_flags = lpcfg_tdb_flags(lp_ctx, tdb_flags);
result = dbwrap_local_open(mem_ctx, lp_ctx, name, hash_size,
tdb_flags, open_flags, mode,