tdb: Remove "USE_RIGHT_MERGES" code
authorVolker Lendecke <vl@samba.org>
Mon, 22 Oct 2018 08:10:24 +0000 (10:10 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 25 Oct 2018 15:58:23 +0000 (17:58 +0200)
commit8df11518c0df90aa0c223b2e964fc86015f77e2c
treee8048aeb8d5459e92bd052674d04d50e88067a28
parenta895cc2a59a1fc87dc2d824185713d7af11aa879
tdb: Remove "USE_RIGHT_MERGES" code

This has not been activated by default for ages and can be very
inefficient. With check_merge_with_left_record() we have an
alternative that will merge freelist records while we walk it
anyway. This has reduced fragmentation significantly

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
lib/tdb/common/freelist.c