summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-07-31 09:30:29 +0200
committerStefan Metzmacher <metze@samba.org>2012-07-31 09:34:20 +0200
commitec69eb41bf1e32bec1d2d6e40bcfbd635ca505d2 (patch)
treeb5c3ed8604ca2912bf3e97e8022739ed705c2c97 /source3
parentcddcaf7bd2c272bc578ac1e4f7ec438ab94fc243 (diff)
downloadsamba-ec69eb41bf1e32bec1d2d6e40bcfbd635ca505d2.tar.gz
samba-ec69eb41bf1e32bec1d2d6e40bcfbd635ca505d2.tar.bz2
samba-ec69eb41bf1e32bec1d2d6e40bcfbd635ca505d2.zip
s3:dbwrap_ctdb: initialize db_record->db
metze
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/dbwrap/dbwrap_ctdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/dbwrap/dbwrap_ctdb.c b/source3/lib/dbwrap/dbwrap_ctdb.c
index 5605b47caf..0a579974e8 100644
--- a/source3/lib/dbwrap/dbwrap_ctdb.c
+++ b/source3/lib/dbwrap/dbwrap_ctdb.c
@@ -1057,6 +1057,7 @@ static struct db_record *fetch_locked_internal(struct db_ctdb_ctx *ctx,
return NULL;
}
+ result->db = ctx->db;
result->private_data = (void *)crec;
crec->ctdb_ctx = ctx;