summaryrefslogtreecommitdiffabout
path: root/src/var.c
authorSergey Poznyakoff <gray@gnu.org>2018-06-27 14:33:22 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2018-06-27 14:33:22 (GMT)
commit505faa939a83495603b2fd4a5c77d2ca8d5b08df (patch) (side-by-side diff)
tree3e5550d33744abd9c566d994b6cd3f8cbfac7dd5 /src/var.c
parent3bf70df01fc591e10b204b69074e1ff4074f143b (diff)
downloadgdbm-505faa939a83495603b2fd4a5c77d2ca8d5b08df.tar.gz
gdbm-505faa939a83495603b2fd4a5c77d2ca8d5b08df.tar.bz2
New gdbmtool variables: coalesce and centfree
The two boolean variables control the use of free block coalescing and central free block modes in newly opened databases.
Diffstat (limited to 'src/var.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/var.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/var.c b/src/var.c
index be274c6..4765bc9 100644
--- a/src/var.c
+++ b/src/var.c
@@ -59,6 +59,8 @@ static struct variable vartab[] = {
{ "lock", VART_BOOL, VARF_INIT, { .bool = 1 } },
{ "mmap", VART_BOOL, VARF_INIT, { .bool = 1 } },
{ "sync", VART_BOOL, VARF_INIT, { .bool = 0 } },
+ { "coalesce", VART_BOOL, VARF_INIT, { .bool = 0 } },
+ { "centfree", VART_BOOL, VARF_INIT, { .bool = 0 } },
{ "filemode", VART_INT, VARF_INIT|VARF_OCTAL|VARF_PROT, { .num = 0644 } },
{ "pager", VART_STRING, VARF_DFL },
{ "quiet", VART_BOOL, VARF_DFL },

Return to:

Send suggestions and report system problems to the System administrator.