1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

r23362: Respect "use mmap" in tdb_wrap_open(). Tridge, you might want to merge

this in your tree.
(This used to be commit c0f40eb5846f617d9c421136b0e1ea593c8d8458)
This commit is contained in:
Volker Lendecke 2007-06-06 07:46:38 +00:00 committed by Gerald (Jerry) Carter
parent 86d628147c
commit cc2b76b644

View File

@ -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) {
/*