registry: fix logic in deleting subkeys record in regdb_fetch_keys().
authorMichael Adam <obnox@samba.org>
Wed, 9 Jul 2008 08:40:39 +0000 (10:40 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 9 Jul 2008 08:43:25 +0000 (10:43 +0200)
commitf587e0310c802109f2647fc8637db4b01c6a49d3
tree4ab066bfc961140203cf8a650fad539f0382f251
parentad2e1757e7368fd47cada55b5004fec569b18768
registry: fix logic in deleting subkeys record in regdb_fetch_keys().

Don't cancel on NT_STATUS_NOT_FOUND error from dbwrap_delete_bystring().
So deletion of an "incomlete" registry key, i.e. one with an entry in
the list of subkeys of its parent key but not a subkey list of its own,
works again.

Michael
(This used to be commit 75be2116ac2589aaf69038a4115197f40e4b16a5)
source3/registry/reg_backend_db.c