couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dam...@apache.org
Subject svn commit: r667522 - /incubator/couchdb/trunk/src/couchdb/couch_view.erl
Date Fri, 13 Jun 2008 13:21:01 GMT
Author: damien
Date: Fri Jun 13 06:21:01 2008
New Revision: 667522

URL: http://svn.apache.org/viewvc?rev=667522&view=rev
Log:
Fix for bug when reopening view indexes.

Modified:
    incubator/couchdb/trunk/src/couchdb/couch_view.erl

Modified: incubator/couchdb/trunk/src/couchdb/couch_view.erl
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/src/couchdb/couch_view.erl?rev=667522&r1=667521&r2=667522&view=diff
==============================================================================
--- incubator/couchdb/trunk/src/couchdb/couch_view.erl (original)
+++ incubator/couchdb/trunk/src/couchdb/couch_view.erl Fri Jun 13 06:21:01 2008
@@ -481,7 +481,7 @@
         {Seq, IdBtreeState, ViewStates} = _IndexHeaderData) ->
     {ok, IdBtree} = couch_btree:open(IdBtreeState, Fd),
     Views2 = lists:zipwith(
-        fun(BtreeState, #view{btree=BtreeState,reduce_funs=RedFuns}=View) ->
+        fun(BtreeState, #view{reduce_funs=RedFuns}=View) ->
             FunSrcs = [FunSrc || {_Name, FunSrc} <- RedFuns],
             ReduceFun = 
                 fun(reduce, KVs) ->



Mime
View raw message