From 35a280ca70be4ead48a57cdb4aa1edbab04b46b5 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Sat, 13 Sep 2014 00:30:37 +0100 Subject: Remove old and broken FAST_BTREE code This was marked as experimental and broken when I took over man-db 13 years ago, and I've hardly touched it. There's no point in keeping it around. * include/manconfig.h.in (FAST_BTREE): Remove commented definition. * libdb/db_btree.c (test_insert, gripe_get, dbstore, dblookup): Remove. (btree_flopen): Expand B_FLAGS macro. (btree_replace): Remove FAST_BTREE case. * libdb/db_lookup.c (dblookup): Define unconditionally. * libdb/db_store.c (dbstore): Likewise. --- include/manconfig.h.in | 3 --- 1 file changed, 3 deletions(-) (limited to 'include') diff --git a/include/manconfig.h.in b/include/manconfig.h.in index d71b1938..708341be 100644 --- a/include/manconfig.h.in +++ b/include/manconfig.h.in @@ -291,9 +291,6 @@ # define ATTRIBUTE_SENTINEL #endif -/* if testing BTREE db allowing inserts of identical keys, uncomment below */ -/* #define FAST_BTREE */ - /* If running checker, support the garbage detector, else don't */ #ifdef __CHECKER__ extern void __chkr_garbage_detector (void); -- cgit v1.2.3