From c0ad729de6a09cb6334f49ca31d606c215f30632 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 3 Jan 2000 00:52:14 +0000 Subject: drop the alignment to 4 bytes - this makes tdb more space efficient and doesn't seem to affect performance (This used to be commit 1fb293732ed65deba6958000a9f6de7900e21f5c) --- source3/tdb/tdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/tdb/tdb.c') diff --git a/source3/tdb/tdb.c b/source3/tdb/tdb.c index 8ed3dd3bac..89c1368c12 100644 --- a/source3/tdb/tdb.c +++ b/source3/tdb/tdb.c @@ -37,7 +37,7 @@ #define TDB_VERSION (0x26011967 + 1) #define TDB_MAGIC (0x26011999U) #define TDB_FREE_MAGIC (~TDB_MAGIC) -#define TDB_ALIGN 32 +#define TDB_ALIGN 4 #define MIN_REC_SIZE (2*sizeof(struct list_struct) + TDB_ALIGN) #define DEFAULT_HASH_SIZE 512 #define TDB_PAGE_SIZE 0x2000 -- cgit