git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b87d144
)
drop the alignment to 4 bytes - this makes tdb more space efficient
author
Andrew Tridgell
<tridge@samba.org>
Mon, 3 Jan 2000 00:52:14 +0000
(
00:52
+0000)
committer
Andrew Tridgell
<tridge@samba.org>
Mon, 3 Jan 2000 00:52:14 +0000
(
00:52
+0000)
and doesn't seem to affect performance
source/tdb/tdb.c
patch
|
blob
|
history
diff --git
a/source/tdb/tdb.c
b/source/tdb/tdb.c
index 8ed3dd3bacb8333f711574a661b398f875952a40..89c1368c1280e1b6f932f017f77e517e4a036514 100644
(file)
--- a/
source/tdb/tdb.c
+++ b/
source/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