summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDamien F. Katz <damien@apache.org>2008-06-13 13:21:01 +0000
committerDamien F. Katz <damien@apache.org>2008-06-13 13:21:01 +0000
commit0a8edb4c3245c4e746304b6f5c6617f4fb55dafe (patch)
treebe1b48c052d62f33ea89418096d2db0d17e8d888 /src
parentd32d766aced9413a7500e17bb670220f38e15205 (diff)
Fix for bug when reopening view indexes.
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@667522 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/couchdb/couch_view.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_view.erl b/src/couchdb/couch_view.erl
index ecb8e06b..a7dae8d4 100644
--- a/src/couchdb/couch_view.erl
+++ b/src/couchdb/couch_view.erl
@@ -481,7 +481,7 @@ init_group(Db, Fd, #group{def_lang=Lang,views=Views}=Group,
{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) ->