s3:registry: don't update the sorted subkeys cache any more in regdb_store_keys_inter...
authorMichael Adam <obnox@samba.org>
Fri, 1 Jul 2011 12:34:08 +0000 (14:34 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 4 Jul 2011 18:02:08 +0000 (20:02 +0200)
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>

source3/registry/reg_backend_db.c

index bf31f026829c2e9c841512ecf896cd6cf84ea1a6..c25fcdb0926f53bf8e7fb597cc2a568d1940defa 100644 (file)
@@ -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);