diff options
author | Volker Lendecke <vl@samba.org> | 2014-03-17 12:21:28 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2014-05-24 13:48:14 +0200 |
commit | aaaff84b44dc211cf678b98320c55ca0e6eb3a46 (patch) | |
tree | d93bc37624ded35edd76e06989293295e8f4dd9f /source3/lib/dbwrap | |
parent | b8ae6f8f57271fd4b8c57d5b800930b8558c1b4a (diff) | |
download | samba-aaaff84b44dc211cf678b98320c55ca0e6eb3a46.tar.gz samba-aaaff84b44dc211cf678b98320c55ca0e6eb3a46.tar.xz samba-aaaff84b44dc211cf678b98320c55ca0e6eb3a46.zip |
dbwrap_ctdb: open locally with TDB_VOLATILE if requested
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/lib/dbwrap')
-rw-r--r-- | source3/lib/dbwrap/dbwrap_ctdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/dbwrap/dbwrap_ctdb.c b/source3/lib/dbwrap/dbwrap_ctdb.c index 7cf90cebdf8..ca33c8f65e1 100644 --- a/source3/lib/dbwrap/dbwrap_ctdb.c +++ b/source3/lib/dbwrap/dbwrap_ctdb.c @@ -1616,7 +1616,7 @@ struct db_context *db_open_ctdb(TALLOC_CTX *mem_ctx, result->lock_order = lock_order; /* only pass through specific flags */ - tdb_flags &= TDB_SEQNUM; + tdb_flags &= TDB_SEQNUM|TDB_VOLATILE; /* honor permissions if user has specified O_CREAT */ if (open_flags & O_CREAT) { |