From 888240138203123222c5a983616b524f9325f606 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 27 Apr 2004 07:10:16 +0000 Subject: r373: use a much larger default tdb hash size in ldb (This used to be commit 54f47c45b8f828ad5ddaa630d0c1e673f2c74b7a) --- source4/lib/ldb/ldb_tdb/ldb_tdb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/lib/ldb/ldb_tdb/ldb_tdb.c b/source4/lib/ldb/ldb_tdb/ldb_tdb.c index 34cff41794..a4eb83a20e 100644 --- a/source4/lib/ldb/ldb_tdb/ldb_tdb.c +++ b/source4/lib/ldb/ldb_tdb/ldb_tdb.c @@ -524,7 +524,8 @@ struct ldb_context *ltdb_connect(const char *url, open_flags = O_CREAT | O_RDWR; } - tdb = tdb_open(path, 0, tdb_flags, open_flags, 0666); + /* note that we use quite a large default hash size */ + tdb = tdb_open(path, 10000, tdb_flags, open_flags, 0666); if (!tdb) { return NULL; } -- cgit