ldb: Reduce per-attribute memory allocation during @ATTRIBUTES load
authorAndrew Bartlett <abartlet@samba.org>
Fri, 14 Oct 2016 02:42:53 +0000 (15:42 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 1 Dec 2016 04:54:23 +0000 (05:54 +0100)
commitd8ee92734b0fdaee52734f4b22315a31d15388ab
tree02721e125ad0997e8c89177e70c35d824221a44c
parentdf2cc307e7993197a8793e6beadc967432168cc5
ldb: Reduce per-attribute memory allocation during @ATTRIBUTES load

This means we do just a few allocations, not multiple per configured attribute (there can be 1000s)

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