From: Michael Adam Date: Fri, 1 Jul 2011 12:34:08 +0000 (+0200) Subject: s3:registry: don't update the sorted subkeys cache any more in regdb_store_keys_inter... X-Git-Url: http://git.samba.org/?p=kai%2Fsamba.git;a=commitdiff_plain;h=eb797bd2060732bca06cda3dfd5eabec5e7c8ab0 s3:registry: don't update the sorted subkeys cache any more in regdb_store_keys_internal2() Pair-Programmed-With: Gregor Beck --- diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c index bf31f026829..c25fcdb0926 100644 --- a/source3/registry/reg_backend_db.c +++ b/source3/registry/reg_backend_db.c @@ -847,12 +847,6 @@ static WERROR regdb_store_keys_internal2(struct db_context *db, dbuf.dsize = len; werr = ntstatus_to_werror(dbwrap_store_bystring(db, keyname, dbuf, TDB_REPLACE)); - W_ERROR_NOT_OK_GOTO_DONE(werr); - - /* - * recreate the sorted subkey cache for regdb_key_exists() - */ - werr = ntstatus_to_werror(create_sorted_subkeys(keyname)); done: TALLOC_FREE(ctx);