diff options
Diffstat (limited to 'source3/lib/dbwrap')
-rw-r--r-- | source3/lib/dbwrap/dbwrap_open.c | 3 | ||||
-rw-r--r-- | source3/lib/dbwrap/dbwrap_open.h | 3 | ||||
-rw-r--r-- | source3/lib/dbwrap/dbwrap_watch.c | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/source3/lib/dbwrap/dbwrap_open.c b/source3/lib/dbwrap/dbwrap_open.c index 515b4bff1d1..6c9280cedbb 100644 --- a/source3/lib/dbwrap/dbwrap_open.c +++ b/source3/lib/dbwrap/dbwrap_open.c @@ -60,7 +60,8 @@ struct db_context *db_open(TALLOC_CTX *mem_ctx, const char *name, int hash_size, int tdb_flags, int open_flags, mode_t mode, - enum dbwrap_lock_order lock_order) + enum dbwrap_lock_order lock_order, + uint64_t dbwrap_flags) { struct db_context *result = NULL; #ifdef CLUSTER_SUPPORT diff --git a/source3/lib/dbwrap/dbwrap_open.h b/source3/lib/dbwrap/dbwrap_open.h index 51c7dfd2353..d14794ea17c 100644 --- a/source3/lib/dbwrap/dbwrap_open.h +++ b/source3/lib/dbwrap/dbwrap_open.h @@ -39,6 +39,7 @@ struct db_context *db_open(TALLOC_CTX *mem_ctx, const char *name, int hash_size, int tdb_flags, int open_flags, mode_t mode, - enum dbwrap_lock_order lock_order); + enum dbwrap_lock_order lock_order, + uint64_t dbwrap_flags); #endif /* __DBWRAP_OPEN_H__ */ diff --git a/source3/lib/dbwrap/dbwrap_watch.c b/source3/lib/dbwrap/dbwrap_watch.c index b586b661a34..ba4381e045b 100644 --- a/source3/lib/dbwrap/dbwrap_watch.c +++ b/source3/lib/dbwrap/dbwrap_watch.c @@ -33,7 +33,8 @@ static struct db_context *dbwrap_record_watchers_db(void) watchers_db = db_open( NULL, lock_path("dbwrap_watchers.tdb"), 0, TDB_CLEAR_IF_FIRST | TDB_INCOMPATIBLE_HASH, - O_RDWR|O_CREAT, 0600, DBWRAP_LOCK_ORDER_3); + O_RDWR|O_CREAT, 0600, DBWRAP_LOCK_ORDER_3, + DBWRAP_FLAG_NONE); } return watchers_db; } |