registry: Implement new semantics for existence of registry key in tdb.
commitc77ac4035d3c0a372388d27abad46b13122bca67
authorMichael Adam <obnox@samba.org>
Tue, 6 May 2008 08:05:20 +0000 (6 10:05 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 9 May 2008 11:42:14 +0000 (9 13:42 +0200)
tree33a273f0579a6147ffc8892a01bcb24d54a84342
parent4a5b7175305e7841673f17c1afae417de510d3e3
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
(cherry picked from commit 477008367f0ac90624b4b751955cd3235b2c9cc6)
source/registry/reg_backend_db.c