summaryrefslogtreecommitdiff
path: root/lib/dbwrap/dbwrap_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dbwrap/dbwrap_cache.c')
-rw-r--r--lib/dbwrap/dbwrap_cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dbwrap/dbwrap_cache.c b/lib/dbwrap/dbwrap_cache.c
index 4bfa6340af..1badeb13b9 100644
--- a/lib/dbwrap/dbwrap_cache.c
+++ b/lib/dbwrap/dbwrap_cache.c
@@ -209,6 +209,7 @@ struct db_context *db_open_cache(TALLOC_CTX *mem_ctx,
db->parse_record = dbwrap_cache_parse_record;
db->exists = dbwrap_cache_exists;
db->id = dbwrap_cache_id;
+ db->name = dbwrap_name(ctx->backing);
db->stored_callback = NULL;
db->wipe = NULL;
db->lock_order = 0;