ldb_tdb: Rework list_union to not return duplicates, and keep sort order
authorAndrew Bartlett <abartlet@samba.org>
Mon, 21 Aug 2017 23:07:45 +0000 (11:07 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 22 Sep 2017 19:20:23 +0000 (21:20 +0200)
commitfdff9a70876ed6ff06a4cc0076f8e85838f14b06
tree4da90362aacbe3b690b99e2dce53545abc6ad8c1
parentb86a46df1df60e9362b9c3cc7f41e8315329f3aa
ldb_tdb: Rework list_union to not return duplicates, and keep sort order

This allows the binary search to still operate on the list, even after
a or operator in the search expression

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
lib/ldb/ldb_tdb/ldb_index.c