summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-01-16 21:04:52 +0100
committerVolker Lendecke <vl@samba.org>2008-01-16 21:04:52 +0100
commit7084854bd94c84250becc7e4e13035fde2d7a728 (patch)
tree6aca0f8d0dde2ad94e8e6b29c1d5a5d427dd4b4c /source3/lib
parent088183896a6e46cc7e5a5ff94e2e94b948119a8a (diff)
downloadsamba-7084854bd94c84250becc7e4e13035fde2d7a728.tar.gz
samba-7084854bd94c84250becc7e4e13035fde2d7a728.tar.bz2
samba-7084854bd94c84250becc7e4e13035fde2d7a728.zip
Next try to fix the max dead record calculation
(This used to be commit 4f95c58040f46f343f55f9a5db2655a5e3b62c00)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/tdb/common/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/tdb/common/open.c b/source3/lib/tdb/common/open.c
index 94140a4baa..2a438971d4 100644
--- a/source3/lib/tdb/common/open.c
+++ b/source3/lib/tdb/common/open.c
@@ -179,7 +179,7 @@ struct tdb_context *tdb_open_ex(const char *name, int hash_size, int tdb_flags,
tdb->page_size = 0x2000;
}
- tdb->max_dead_records = (open_flags & TDB_VOLATILE) ? 5 : 0;
+ tdb->max_dead_records = (tdb_flags & TDB_VOLATILE) ? 5 : 0;
if ((open_flags & O_ACCMODE) == O_WRONLY) {
TDB_LOG((tdb, TDB_DEBUG_ERROR, "tdb_open_ex: can't open tdb %s write-only\n",