summaryrefslogtreecommitdiff
path: root/source/tdb/tdb.c
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2000-05-10 01:32:51 +0000
committerHerb Lewis <herb@samba.org>2000-05-10 01:32:51 +0000
commit400906e6421c150b591b4bf978a641d5aaf8fd09 (patch)
tree31d913413f004e8e89e1586cb3afb92c3ff01b42 /source/tdb/tdb.c
parentf9a52cadbf11f7afcef754a59d783964a2edb5bc (diff)
downloadsamba-400906e6421c150b591b4bf978a641d5aaf8fd09.tar.gz
Use a prime for default tdb hash size - this makes a difference !
Jeremy.
Diffstat (limited to 'source/tdb/tdb.c')
-rw-r--r--source/tdb/tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tdb/tdb.c b/source/tdb/tdb.c
index 11bff6ce2ea..6ad32437efa 100644
--- a/source/tdb/tdb.c
+++ b/source/tdb/tdb.c
@@ -40,7 +40,7 @@
#define TDB_FREE_MAGIC (~TDB_MAGIC)
#define TDB_ALIGN 4
#define MIN_REC_SIZE (2*sizeof(struct list_struct) + TDB_ALIGN)
-#define DEFAULT_HASH_SIZE 128
+#define DEFAULT_HASH_SIZE 131
#define TDB_PAGE_SIZE 0x2000
#define TDB_LEN_MULTIPLIER 10
#define FREELIST_TOP (sizeof(struct tdb_header))