couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject svn commit: r824968 - /couchdb/trunk/src/couchdb/couch_view_updater.erl
Date Tue, 13 Oct 2009 23:05:16 GMT
Author: davisp
Date: Tue Oct 13 23:05:15 2009
New Revision: 824968

URL: http://svn.apache.org/viewvc?rev=824968&view=rev
Log:
Fix partial view updating regression.


Modified:
    couchdb/trunk/src/couchdb/couch_view_updater.erl

Modified: couchdb/trunk/src/couchdb/couch_view_updater.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_view_updater.erl?rev=824968&r1=824967&r2=824968&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_view_updater.erl (original)
+++ couchdb/trunk/src/couchdb/couch_view_updater.erl Tue Oct 13 23:05:15 2009
@@ -158,9 +158,9 @@
                 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) ->



Mime
View raw message