ldb: Add ldb_unpack_data_only_attr_list_flags()
authorAndrew Bartlett <abartlet@samba.org>
Tue, 26 Jul 2016 12:17:36 +0000 (00:17 +1200)
committerStefan Metzmacher <metze@samba.org>
Thu, 28 Jul 2016 08:06:12 +0000 (10:06 +0200)
commitf6e87188b60bea7d15bc015a8617e7ed3f7fbeda
tree891d28d73260e2da86f34c53997b7bfc79e641eb
parentebdf6e079b758aeb750201c4989706c43af2420e
ldb: Add ldb_unpack_data_only_attr_list_flags()

This function allows us to control allocation of memory during parse
of the packed ldb data.

This in turn can have an important performance impact as each
small allocation can have a large overhead

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
lib/ldb/ABI/ldb-1.1.26.sigs
lib/ldb/common/ldb_pack.c
lib/ldb/include/ldb_module.h
source4/torture/ldb/ldb.c