s3: Initialize "stored_callback" in dbwrap_cache
authorVolker Lendecke <vl@samba.org>
Sat, 21 Apr 2012 10:04:13 +0000 (12:04 +0200)
committerVolker Lendecke <vl@samba.org>
Sat, 21 Apr 2012 10:10:49 +0000 (12:10 +0200)
This should fix one of the recent flaky tests

source3/lib/dbwrap/dbwrap_cache.c

index e0fced591b146526e31fcb266dae662e049aee63..d61aa89a44fecf72c039dc004af151e038dd0760 100644 (file)
@@ -208,6 +208,7 @@ struct db_context *db_open_cache(TALLOC_CTX *mem_ctx,
        db->transaction_cancel = dbwrap_cache_transaction_cancel;
        db->parse_record = dbwrap_cache_parse_record;
        db->exists = dbwrap_cache_exists;
+       db->stored_callback = NULL;
        db->wipe = NULL;
        db->lock_order = 0;
        db->persistent = false;