diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2012-06-22 15:07:44 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-06-22 07:35:17 +0200 |
commit | e92cb556fdb5faee71f614475aaade846dcd0aed (patch) | |
tree | aa56a6d0aefe643f5a26e074b1b9151031b8f20c /lib/dbwrap/dbwrap_cache.c | |
parent | 41f799d877961d095401a628307e0c690dfbc124 (diff) | |
download | samba-e92cb556fdb5faee71f614475aaade846dcd0aed.tar.gz samba-e92cb556fdb5faee71f614475aaade846dcd0aed.tar.bz2 samba-e92cb556fdb5faee71f614475aaade846dcd0aed.zip |
dbwrap: dbwrap_name().
Useful for debug messages: particularly once we start switching between .tdb
and .ntdb files.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/dbwrap/dbwrap_cache.c')
-rw-r--r-- | lib/dbwrap/dbwrap_cache.c | 1 |
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; |