git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edbc26b
)
dbwrap: Use INCOMPATIBLE_HASH for dbwrap_watchers.tdb
author
Volker Lendecke
<vl@samba.org>
Fri, 11 Jan 2013 16:04:39 +0000
(17:04 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 11 Jan 2013 16:10:48 +0000
(17:10 +0100)
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/lib/dbwrap/dbwrap_watch.c
patch
|
blob
|
history
diff --git
a/source3/lib/dbwrap/dbwrap_watch.c
b/source3/lib/dbwrap/dbwrap_watch.c
index d7392a32353c5c3bfccffec54c44e004e32a9f1d..d8f1b74a42c7765537a9653c0e5be2fe88972938 100644
(file)
--- a/
source3/lib/dbwrap/dbwrap_watch.c
+++ b/
source3/lib/dbwrap/dbwrap_watch.c
@@
-31,9
+31,10
@@
static struct db_context *dbwrap_record_watchers_db(void)
static struct db_context *watchers_db;
if (watchers_db == NULL) {
- watchers_db = db_open(NULL, lock_path("dbwrap_watchers.tdb"),
- 0, TDB_CLEAR_IF_FIRST, O_RDWR|O_CREAT,
- 0600, DBWRAP_LOCK_ORDER_3);
+ 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);
}
return watchers_db;
}