summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/couchdb/couch_view_updater.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/couchdb/couch_view_updater.erl b/src/couchdb/couch_view_updater.erl
index bb1dc975..6f04d93a 100644
--- a/src/couchdb/couch_view_updater.erl
+++ b/src/couchdb/couch_view_updater.erl
@@ -158,9 +158,9 @@ do_writes(Parent, Owner, Group, WriteQueue, IntitalBuild) ->
IntitalBuild),
case Owner of
nil -> ok;
- _ -> ok = gen_server:cast(Owner, {partial_update, self(), Group2})
+ _ -> ok = gen_server:cast(Owner, {partial_update, Parent, Group2})
end,
- do_writes(Parent, nil, Group2, WriteQueue, IntitalBuild)
+ do_writes(Parent, Owner, Group2, WriteQueue, IntitalBuild)
end.
view_insert_query_results([], [], ViewKVs, DocIdViewIdKeysAcc) ->