1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00

lib ldb: rename ltdb_cache to ldb_kv_cache

Rename ltdb_cache to ldb_kv_cache as it's key value level and not tdb
specific

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Gary Lockyer 2018-07-20 13:31:27 +12:00 committed by Andrew Bartlett
parent b8c9c305b3
commit 72724f75ce
2 changed files with 2 additions and 2 deletions

View File

@ -418,7 +418,7 @@ int ldb_kv_cache_load(struct ldb_module *module)
}
if (ldb_kv->cache == NULL) {
ldb_kv->cache = talloc_zero(ldb_kv, struct ltdb_cache);
ldb_kv->cache = talloc_zero(ldb_kv, struct ldb_kv_cache);
if (ldb_kv->cache == NULL)
goto failed;
}

View File

@ -58,7 +58,7 @@ struct ldb_kv_private {
possible */
int tdb_seqnum;
struct ltdb_cache {
struct ldb_kv_cache {
struct ldb_message *indexlist;
bool one_level_indexes;
bool attribute_indexes;