s3:dbwrap_ctdb: initialize db_record->db
authorStefan Metzmacher <metze@samba.org>
Tue, 31 Jul 2012 07:30:29 +0000 (09:30 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 31 Jul 2012 07:34:20 +0000 (09:34 +0200)
metze

source3/lib/dbwrap/dbwrap_ctdb.c

index 5605b47cafdf565b7c628ea2e804098bdcdea397..0a579974e85b05d67961a0f6d12d56c9cfe40535 100644 (file)
@@ -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;