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)
commit9fe870affa2b19aeee8f45f05cc1407d448c3bf7
treee90a68a0e2f96e9a446fa3448c46317e9095cc64
parented6a9edb1ef129f82aa7841dd18151da28b7ce6d
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
(This used to be commit 7c5f1583cb43d473544f161aa9c864e1d78944e5)
source3/registry/reg_backend_db.c