1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-06 13:18:07 +03:00
samba-mirror/lib/ldb/ldb_key_value
Gary Lockyer 1a52b03b2f lib ldb key value: Remove check_parent from ldb_kv_index_idxptr()
The callers will soon have two possible parents for this pointer, so
we need to remove this check, which was added out of caution given
the rather strange pattern of putting an active memory pointer into a
TDB (as a hash map).

That is, the only callers that did call this with "true" would
have to call this with "false", so just remove the complexity.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2019-06-21 04:27:12 +00:00
..
ldb_kv_cache.c lib ldb ldb_key_value: csbuild unused parm module 2019-06-13 07:16:22 +00:00
ldb_kv_index.c lib ldb key value: Remove check_parent from ldb_kv_index_idxptr() 2019-06-21 04:27:12 +00:00
ldb_kv_search.c lib ldb ldb_key_value: csbuild unused parm ldb_kv 2019-06-13 08:27:12 +00:00
ldb_kv.c lib ldb ldb_key_value tests: Add tests for wrapped operations 2019-06-21 04:27:12 +00:00
ldb_kv.h lib ldb key value: add nested transaction support. 2019-06-21 04:27:12 +00:00