couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [2/3] couch-mrview commit: updated refs/heads/master to 9133f6d
Date Thu, 25 Aug 2016 18:00:12 GMT
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/master
Commit: e936267dca63e78775c7c1ed3580f92a50e61b54
Parents: 0db83c4
Author: Robert Newson <rnewson@apache.org>
Authored: Thu Aug 25 16:01:47 2016 +0100
Committer: Robert Newson <rnewson@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),


Mime
View raw message