From 302c05be23f8f69f665272a0a540e493e2607e68 Mon Sep 17 00:00:00 2001 From: Keith Bostic Date: Wed, 2 Sep 1992 17:15:43 -0800 Subject: [PATCH] initialize cachesize if openinfo not specified SCCS-vsn: lib/libc/db/btree/bt_open.c 5.20 SCCS-vsn: lib/libc/db/btree/bt_open.c 5.20 --- usr/src/lib/libc/db/btree/bt_open.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr/src/lib/libc/db/btree/bt_open.c b/usr/src/lib/libc/db/btree/bt_open.c index b0bb2759e3..e9c5b1eddd 100644 --- a/usr/src/lib/libc/db/btree/bt_open.c +++ b/usr/src/lib/libc/db/btree/bt_open.c @@ -9,7 +9,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char sccsid[] = "@(#)bt_open.c 5.19 (Berkeley) %G%"; +static char sccsid[] = "@(#)bt_open.c 5.20 (Berkeley) %G%"; #endif /* LIBC_SCCS and not lint */ /* @@ -112,6 +112,7 @@ __bt_open(fname, flags, mode, openinfo) goto einval; } else { b.compare = __bt_defcmp; + b.cachesize = 0; b.flags = 0; b.lorder = BYTE_ORDER; b.minkeypage = DEFMINKEYPAGE; -- 2.20.1