ldb_tdb: Avoid reading the index list from the DB if we are already set to override it
authorAndrew Bartlett <abartlet@samba.org>
Thu, 30 Mar 2017 00:10:22 +0000 (13:10 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 31 May 2017 04:34:26 +0000 (06:34 +0200)
commit2335e57a898bfe0d0c842b8d5e0b4cbb4589c1a3
treef90e8de753b4c3e04f617efef89a9de53131dc0d
parente584fe85a51ec8a81274dc65e689cc0e0ddb4a50
ldb_tdb: Avoid reading the index list from the DB if we are already set to override it

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_cache.c