couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chewbra...@apache.org
Subject fabric commit: updated refs/heads/1993-bigcouch-couch-mrview to 029c56e
Date Wed, 26 Mar 2014 19:43:25 GMT
Repository: couchdb-fabric
Updated Branches:
  refs/heads/1993-bigcouch-couch-mrview fa73a5dc5 -> 029c56e7e


Fix fabric _all_docs POST requests


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/commit/029c56e7
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/tree/029c56e7
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/diff/029c56e7

Branch: refs/heads/1993-bigcouch-couch-mrview
Commit: 029c56e7ed002a55ea50e5d59b9bd61eee0b8716
Parents: fa73a5d
Author: Russell Branca <chewbranca@gmail.com>
Authored: Wed Mar 26 12:43:22 2014 -0700
Committer: Russell Branca <chewbranca@gmail.com>
Committed: Wed Mar 26 12:43:22 2014 -0700

----------------------------------------------------------------------
 src/fabric_view_all_docs.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fabric/blob/029c56e7/src/fabric_view_all_docs.erl
----------------------------------------------------------------------
diff --git a/src/fabric_view_all_docs.erl b/src/fabric_view_all_docs.erl
index 65cfd46..701afa7 100644
--- a/src/fabric_view_all_docs.erl
+++ b/src/fabric_view_all_docs.erl
@@ -72,7 +72,7 @@ go(DbName, QueryArgs, Callback, Acc0) ->
         false -> Keys2
     end,
     receive {'DOWN', Ref0, _, _, {ok, TotalRows}} ->
-        {ok, Acc1} = Callback({total_and_offset, TotalRows, 0}, Acc0),
+        {ok, Acc1} = Callback({meta, [{total, TotalRows}]}, Acc0),
         {ok, Acc2} = doc_receive_loop(
             Keys3, queue:new(), SpawnFun, MaxJobs, Callback, Acc1
         ),


Mime
View raw message