summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Christopher Anderson <jchris@apache.org>2010-10-01 23:31:59 +0000
committerJohn Christopher Anderson <jchris@apache.org>2010-10-01 23:31:59 +0000
commit0c14ef6bcc0e5ad7157024be7b3c4dd7a5962d34 (patch)
tree44edfd852684cfd6bc1faaa43a61e12381dac07f /src
parentbf20191780079c81fc487c3e3dd52e51651adea5 (diff)
remove vestigal db handle that will just be replaced by couch_view_updater anyway
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1003706 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/couchdb/couch_view_group.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_view_group.erl b/src/couchdb/couch_view_group.erl
index aefcb188..2e497ca0 100644
--- a/src/couchdb/couch_view_group.erl
+++ b/src/couchdb/couch_view_group.erl
@@ -446,7 +446,7 @@ open_temp_group(DbName, Language, DesignOptions, MapSrc, RedSrc) ->
reduce_funs= if RedSrc==[] -> []; true -> [{<<"_temp">>, RedSrc}] end,
options=DesignOptions},
couch_db:close(Db),
- {ok, set_view_sig(#group{name = <<"_temp">>,lib={[]}, db=Db, views=[View],
+ {ok, set_view_sig(#group{name = <<"_temp">>,lib={[]}, views=[View],
def_lang=Language, design_options=DesignOptions})};
Error ->
Error