diff options
| author | 2022-11-24 09:15:06 +0100 | |
|---|---|---|
| committer | 2022-11-24 09:15:06 +0100 | |
| commit | 6acf906b646a065f8876565821c959fe8bafa424 (patch) | |
| tree | 21bd3054e1d84db86b06928485ae374ef0ccd670 | |
| parent | In object_add(), update the parent's children index even if the parent isn't ... (diff) | |
| download | snac2-6acf906b646a065f8876565821c959fe8bafa424.tar.gz snac2-6acf906b646a065f8876565821c959fe8bafa424.tar.xz snac2-6acf906b646a065f8876565821c959fe8bafa424.zip | |
Added debug info for child index updates.
| -rw-r--r-- | data.c | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -411,6 +411,8 @@ int object_add(const char *id, d_char *obj) | |||
| 411 | 411 | ||
| 412 | pfn = xs_replace_i(pfn, ".json", "_c.idx"); | 412 | pfn = xs_replace_i(pfn, ".json", "_c.idx"); |
| 413 | index_add(pfn, id); | 413 | index_add(pfn, id); |
| 414 | |||
| 415 | srv_debug(0, xs_fmt("object_add added child %s to %s", id, pfn)); | ||
| 414 | } | 416 | } |
| 415 | } | 417 | } |
| 416 | else | 418 | else |