You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2017/03/01 16:37:55 UTC

[21/43] couch-mrview commit: updated refs/heads/2971-count-distinct to f7c3c24

Revert "Reset row_sent at end of query"

This is now handled at a higher level.

COUCHDB-3060


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/commit/e936267d
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/tree/e936267d
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/diff/e936267d

Branch: refs/heads/2971-count-distinct
Commit: e936267dca63e78775c7c1ed3580f92a50e61b54
Parents: 0db83c4
Author: Robert Newson <rn...@apache.org>
Authored: Thu Aug 25 16:01:47 2016 +0100
Committer: Robert Newson <rn...@apache.org>
Committed: Thu Aug 25 16:01:47 2016 +0100

----------------------------------------------------------------------
 src/couch_mrview_http.erl | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/blob/e936267d/src/couch_mrview_http.erl
----------------------------------------------------------------------
diff --git a/src/couch_mrview_http.erl b/src/couch_mrview_http.erl
index 253ee30..aa39912 100644
--- a/src/couch_mrview_http.erl
+++ b/src/couch_mrview_http.erl
@@ -386,8 +386,7 @@ view_cb(complete, #vacc{resp=Resp, buffer=Buf, threshold=Max}=Acc) ->
             {ok, Resp2} = chttpd:end_delayed_json_response(Resp1),
             {ok, Acc#vacc{resp=Resp2}};
         _ ->
-            {ok, Acc#vacc{resp=Resp1, row_sent=false,
-                prepend=",\r\n", buffer=[], bufsize=0}}
+            {ok, Acc#vacc{resp=Resp1, prepend=",\r\n", buffer=[], bufsize=0}}
     end;
 view_cb({error, Reason}, #vacc{resp=undefined}=Acc) ->
     {ok, Resp} = chttpd:send_error(Acc#vacc.req, Reason),