lmdb: iterate_range implementation
authorGarming Sam <garming@catalyst.net.nz>
Sun, 3 Mar 2019 23:50:24 +0000 (12:50 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 8 Apr 2019 02:07:22 +0000 (02:07 +0000)
commite4ea408f52eeb958f646dfa4ef304357a080bdd1
treeee2273fa6ace363f3d868ff496be1be8561e501f
parentfc2e521a5e34988547de27a024a180b83d6504ee
lmdb: iterate_range implementation

Adding iterate_range to LDB API and implementing in LMDB.  This
operation takes a start_key and end_key and returns all records between
the two, inclusive of both.  This will be used to implementing indexing
for <= and >= expressions.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/ldb/ldb_key_value/ldb_kv.h
lib/ldb/ldb_mdb/ldb_mdb.c
lib/ldb/ldb_tdb/ldb_tdb.c