ldb: Avoid multiple tiny allocations during full DB scan
authorAndrew Bartlett <abartlet@samba.org>
Mon, 22 Aug 2016 23:38:26 +0000 (11:38 +1200)
committerDouglas Bagnall <dbagnall@samba.org>
Wed, 31 Aug 2016 08:53:09 +0000 (10:53 +0200)
commit09580103fe30896c61e173c836aa4ca525cc6243
treedbcf518e2594f53f5d03298a2191eb7c8d1d7a60
parent198471f9edfb9da2ee5b54e60a46d208f58ca2e4
ldb: Avoid multiple tiny allocations during full DB scan

LDB_UNPACK_DATA_FLAG_NO_VALUES_ALLOC allows us to consolidate some of these allocations

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org>
Autobuild-Date(master): Wed Aug 31 10:53:09 CEST 2016 on sn-devel-144
lib/ldb/common/ldb_pack.c
lib/ldb/include/ldb_module.h
lib/ldb/ldb_tdb/ldb_index.c
lib/ldb/ldb_tdb/ldb_search.c
source4/torture/ldb/ldb.c