registry: Implement new semantics for existence of registry key in tdb.
commita26880c372aeccdb56292c7ce6b594a96e8c61ef
authorMichael Adam <obnox@samba.org>
Tue, 6 May 2008 08:05:20 +0000 (6 10:05 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 8 May 2008 16:29:09 +0000 (8 18:29 +0200)
treebb5d17202bfc7b25de0eda2e83714f9159cbd317
parentf5cbbb5c02a53193f2ac6b3fbbf1da3bc32d6d2a
registry: Implement new semantics for existence of registry key in tdb.

Existence of a key is defined as follows:
* If the key is a base key (without separator), the key exists
  iff the corresponding entry exist in the registry tdb.
* If the key is not a base key, the key exists, iff it exists
  in the list of subkeys of it's parent keyname's tdb entry.

Michael
(This used to be commit 477008367f0ac90624b4b751955cd3235b2c9cc6)
source3/registry/reg_backend_db.c