ldb_tdb: change the arguments to ldb_is_indexed() to provide the ltdb_private
authorAndrew Bartlett <abartlet@samba.org>
Thu, 30 Mar 2017 00:07:16 +0000 (13:07 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 31 May 2017 04:34:26 +0000 (06:34 +0200)
commite1bc43dca19a9a6078bd10c0c91986287f58fd9a
tree744d51bb2777f342cbaf6d3fe060ba160c761bd3
parent05e8dcb2f9ef540f814712be422bdef50f6d560d
ldb_tdb: change the arguments to ldb_is_indexed() to provide the ltdb_private

By doing this, we can be more efficient in locating if we have an index in
the future.

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