From 98e34f7e65d344e846b04eaea73d841f9da9cd9c Mon Sep 17 00:00:00 2001 From: Jan Lehnardt Date: Wed, 19 May 2010 20:33:38 +0000 Subject: Don't use module name for module-local function calls that don't affect hot code reloading. Patch by Volker Mische. Closes COUCHDB-765. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@946377 13f79535-47bb-0310-9956-ffa450edef68 --- src/couchdb/couch_httpd_view.erl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/couchdb/couch_httpd_view.erl b/src/couchdb/couch_httpd_view.erl index e8211c4f..5aef5f45 100644 --- a/src/couchdb/couch_httpd_view.erl +++ b/src/couchdb/couch_httpd_view.erl @@ -197,22 +197,22 @@ get_reduce_type(Req) -> list_to_atom(couch_httpd:qs_value(Req, "reduce", "true")). load_view(Req, Db, {ViewDesignId, ViewName}, Keys) -> - Stale = couch_httpd_view:get_stale_type(Req), - Reduce = couch_httpd_view:get_reduce_type(Req), + Stale = get_stale_type(Req), + Reduce = get_reduce_type(Req), case couch_view:get_map_view(Db, ViewDesignId, ViewName, Stale) of {ok, View, Group} -> - QueryArgs = couch_httpd_view:parse_view_params(Req, Keys, map), + QueryArgs = parse_view_params(Req, Keys, map), {map, View, Group, QueryArgs}; {not_found, _Reason} -> case couch_view:get_reduce_view(Db, ViewDesignId, ViewName, Stale) of {ok, ReduceView, Group} -> case Reduce of false -> - QueryArgs = couch_httpd_view:parse_view_params(Req, Keys, map_red), + QueryArgs = parse_view_params(Req, Keys, map_red), MapView = couch_view:extract_map_view(ReduceView), {map, MapView, Group, QueryArgs}; _ -> - QueryArgs = couch_httpd_view:parse_view_params(Req, Keys, reduce), + QueryArgs = parse_view_params(Req, Keys, reduce), {reduce, ReduceView, Group, QueryArgs} end; {not_found, Reason} -> -- cgit v1.2.3