git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86d6281
)
r23362: Respect "use mmap" in tdb_wrap_open(). Tridge, you might want to merge
author
Volker Lendecke
<vlendec@samba.org>
Wed, 6 Jun 2007 07:46:38 +0000
(07:46 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:23:10 +0000
(12:23 -0500)
this in your tree.
(This used to be commit
c0f40eb5846f617d9c421136b0e1ea593c8d8458
)
source3/lib/util_tdb.c
patch
|
blob
|
history
diff --git
a/source3/lib/util_tdb.c
b/source3/lib/util_tdb.c
index d6f110e45812273966f29cedb4b5a9c8c343558e..4e0d16c3543f27b009b428e7fba1dac6b1d87bbd 100644
(file)
--- a/
source3/lib/util_tdb.c
+++ b/
source3/lib/util_tdb.c
@@
-906,6
+906,9
@@
struct tdb_wrap *tdb_wrap_open(TALLOC_CTX *mem_ctx,
struct tdb_logging_context log_ctx;
log_ctx.log_fn = tdb_wrap_log;
+ if (!lp_use_mmap())
+ tdb_flags |= TDB_NOMMAP;
+
for (w=tdb_list;w;w=w->next) {
if (strcmp(name, w->name) == 0) {
/*