registry: Implement recursive deletes for ldb-backed registry.
commitca796c8fb10598674a5eef31d15863e79bcf3db8
authorAndrew Kroeger <andrew@sprocks.gotdns.com>
Sat, 16 Feb 2008 21:08:28 +0000 (16 15:08 -0600)
committerAndrew Kroeger <andrew@sprocks.gotdns.com>
Wed, 27 Feb 2008 01:27:14 +0000 (26 19:27 -0600)
tree2638d1d0753ac4e62a3488e38f2834c12062a382
parent900d17acb95f1becfc46656a12c107336c027ef7
registry: Implement recursive deletes for ldb-backed registry.

When deleting a registry key that contains subkeys or values, Windows performs a
recursive deletion that removes any subkeys or values.  This update makes
deletes for an ldb-backed registry consistent with Windows.

Under ldb, the deletion is done using an explicit transaction.  If an error
occurs during the deletion the entire transaction is cancelled, leaving the
registry as it was before the deletions started.
source/lib/registry/ldb.c