summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-05-11 16:19:41 +0200
committerVolker Lendecke <vl@samba.org>2011-05-12 11:48:30 +0200
commit26b683116459dad57888dcab6f6f05400e855894 (patch)
tree09e5c829c562202d7358d023aec230dcd2b08f82
parentdaf5f29d4933c89bb8815e34206c976945683ed3 (diff)
downloadsamba-26b683116459dad57888dcab6f6f05400e855894.tar.gz
samba-26b683116459dad57888dcab6f6f05400e855894.tar.bz2
samba-26b683116459dad57888dcab6f6f05400e855894.zip
s3:registry: add a warning debug message when the sorted subkeys is created from key_exists()
-rw-r--r--source3/registry/reg_backend_db.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c
index cd57868efa..11bbe7ed36 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/registry/reg_backend_db.c
@@ -1517,6 +1517,11 @@ static bool scan_parent_subkeys(struct db_context *db, const char *parent,
goto fail;
}
+ DEBUG(2, (__location__ " WARNING: recreating the sorted "
+ "subkeys cache for key '%s' from scan_parent_subkeys "
+ "this should not happen (too frequently)...\n",
+ path));
+
status = create_sorted_subkeys_internal(path, key);
if (!NT_STATUS_IS_OK(status)) {
res = db->transaction_cancel(db);