You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2014/08/11 19:58:30 UTC
[2/3] couch commit: updated refs/heads/windsor-merge to 42c89cd
Use the correct record when updating ddoc_keys.
Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/9e166273
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/9e166273
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/9e166273
Branch: refs/heads/windsor-merge
Commit: 9e166273581efeab5eeb354506d94c96bab13e30
Parents: 075254c
Author: Paul J. Davis <pa...@gmail.com>
Authored: Mon Aug 11 12:56:59 2014 -0500
Committer: Paul J. Davis <pa...@gmail.com>
Committed: Mon Aug 11 12:56:59 2014 -0500
----------------------------------------------------------------------
src/couch_proc_manager.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/9e166273/src/couch_proc_manager.erl
----------------------------------------------------------------------
diff --git a/src/couch_proc_manager.erl b/src/couch_proc_manager.erl
index 18c82e6..3f34a64 100644
--- a/src/couch_proc_manager.erl
+++ b/src/couch_proc_manager.erl
@@ -351,7 +351,7 @@ teach_ddoc(DDoc, {DDocId, _Rev}=DDocKey, #proc_int{ddoc_keys=Keys}=Proc) ->
% because the query server overwrites without the rev
Keys2 = [{D,R} || {D,R} <- Keys, D /= DDocId],
% add ddoc to the proc
- {ok, Proc#proc{ddoc_keys=[DDocKey|Keys2]}}.
+ {ok, Proc#proc_int{ddoc_keys=[DDocKey|Keys2]}}.
make_proc(Pid, Lang, Mod) ->
Proc = #proc_int{