couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [12/26] couch commit: updated refs/heads/windsor-merge to 14dc5e9
Date Tue, 26 Aug 2014 09:46:07 GMT
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/be3b2e9a
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/be3b2e9a
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/be3b2e9a

Branch: refs/heads/windsor-merge
Commit: be3b2e9ae5e7443805d9d682eb8814a9d8166eaa
Parents: 245a683
Author: Paul J. Davis <paul.joseph.davis@gmail.com>
Authored: Mon Aug 11 12:56:59 2014 -0500
Committer: Robert Newson <rnewson@apache.org>
Committed: Tue Aug 26 10:44:12 2014 +0100

----------------------------------------------------------------------
 src/couch_proc_manager.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/be3b2e9a/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{


Mime
View raw message