diff options
author | Colin Watson <cjwatson@debian.org> | 2014-09-13 00:30:37 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2014-09-13 00:30:37 +0100 |
commit | 35a280ca70be4ead48a57cdb4aa1edbab04b46b5 (patch) | |
tree | e9e1d834efb96fd64d448830c03982d186298b04 /include | |
parent | d84ec58866c50d064938b85e5379c324cf25654a (diff) |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/manconfig.h.in | 3 |
1 files changed, 0 insertions, 3 deletions
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); |