registry: save writes in init_registry_data() if data does already exist.
authorMichael Adam <obnox@samba.org>
Tue, 29 Apr 2008 15:37:35 +0000 (17:37 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 30 Apr 2008 10:42:32 +0000 (12:42 +0200)
commit7c5f1583cb43d473544f161aa9c864e1d78944e5
tree28e894ac9420770b2fe3cc27c9415ed178ad5ad4
parent3ab5a2f1b3cf37c380ff3e45a957e62a8017814a
registry: save writes in init_registry_data() if data does already exist.

This is done by first checking if all data (keys and values) exists
(using new regdb_key_exists()) and kompletely skipping all writes if it does.

Michael
source/registry/reg_backend_db.c