summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-04-21 12:04:13 +0200
committerVolker Lendecke <vl@samba.org>2012-04-21 12:10:49 +0200
commitd26028316d69f2346cfa7f39c9678d94a58b4535 (patch)
tree780eb586748659b2e6122600ebb88e7e9bdd4c5b
parent13774a5f9f902ba3cc02ddc3a90f64ab8e80b514 (diff)
downloadsamba-d26028316d69f2346cfa7f39c9678d94a58b4535.tar.gz
samba-d26028316d69f2346cfa7f39c9678d94a58b4535.tar.bz2
samba-d26028316d69f2346cfa7f39c9678d94a58b4535.zip
s3: Initialize "stored_callback" in dbwrap_cache
This should fix one of the recent flaky tests
-rw-r--r--source3/lib/dbwrap/dbwrap_cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/dbwrap/dbwrap_cache.c b/source3/lib/dbwrap/dbwrap_cache.c
index e0fced591b..d61aa89a44 100644
--- a/source3/lib/dbwrap/dbwrap_cache.c
+++ b/source3/lib/dbwrap/dbwrap_cache.c
@@ -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;