diff options
author | Herb Lewis <herb@samba.org> | 2000-05-10 01:32:51 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 2000-05-10 01:32:51 +0000 |
commit | 21b85b2dba9b7e8dd7e35c91e24b46c0d78cf4d9 (patch) | |
tree | 796f7b2289d3ca2d4530a6df09132eb0f707882b /source3 | |
parent | c88222da0ced7edf90b68e68ec49e0fe35a512fe (diff) | |
download | samba-21b85b2dba9b7e8dd7e35c91e24b46c0d78cf4d9.tar.gz samba-21b85b2dba9b7e8dd7e35c91e24b46c0d78cf4d9.tar.bz2 samba-21b85b2dba9b7e8dd7e35c91e24b46c0d78cf4d9.zip |
Use a prime for default tdb hash size - this makes a difference !
Jeremy.
(This used to be commit 400906e6421c150b591b4bf978a641d5aaf8fd09)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/tdb/tdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/tdb/tdb.c b/source3/tdb/tdb.c index 11bff6ce2e..6ad32437ef 100644 --- a/source3/tdb/tdb.c +++ b/source3/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)) |