lib/ldb: Use tdb_parse_record and a callback rather than tdb_fetch()
commit1d1bdc315b4619f0ca5b2a0db602cbe283f8dca8
authorAndrew Bartlett <abartlet@samba.org>
Thu, 9 Aug 2012 12:46:48 +0000 (9 22:46 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 10 Aug 2012 00:18:27 +0000 (10 10:18 +1000)
tree27ae54190fdb5767995f7431d5d08a3ac8082d46
parenta5495bc6b073d29041d9a8e229d37693d6a0c513
lib/ldb: Use tdb_parse_record and a callback rather than tdb_fetch()

This avoid allocation at the tdb layer as we will allocate this
with talloc right away anyway.

Andrew Bartlett
lib/ldb/ldb_tdb/ldb_search.c