diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-01-03 00:52:14 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-01-03 00:52:14 +0000 |
commit | c0ad729de6a09cb6334f49ca31d606c215f30632 (patch) | |
tree | f894fabf98f3b43b39b249455fd14c1b3a9d702e | |
parent | 98b1c568af7ed5f738b92a7aae1826856d638046 (diff) | |
download | samba-c0ad729de6a09cb6334f49ca31d606c215f30632.tar.gz samba-c0ad729de6a09cb6334f49ca31d606c215f30632.tar.xz samba-c0ad729de6a09cb6334f49ca31d606c215f30632.zip |
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)
-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 8ed3dd3bacb..89c1368c128 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 |