You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ch...@apache.org on 2014/07/16 00:19:54 UTC
fabric commit: updated refs/heads/master to 7dd9dd7
Repository: couchdb-fabric
Updated Branches:
refs/heads/master 58380bb87 -> 7dd9dd769
Fix skip and limit values for all docs queries
This extends commit 1b3c795 to include all docs in addition to map
views and reduce views.
Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/commit/7dd9dd76
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/tree/7dd9dd76
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/diff/7dd9dd76
Branch: refs/heads/master
Commit: 7dd9dd7697edbde7e2f3844fc6415788637a11c7
Parents: 58380bb
Author: Russell Branca <ch...@apache.org>
Authored: Tue Jul 15 15:03:30 2014 -0700
Committer: Russell Branca <ch...@apache.org>
Committed: Tue Jul 15 15:19:47 2014 -0700
----------------------------------------------------------------------
src/fabric_rpc.erl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-fabric/blob/7dd9dd76/src/fabric_rpc.erl
----------------------------------------------------------------------
diff --git a/src/fabric_rpc.erl b/src/fabric_rpc.erl
index 4781fb3..390d99e 100644
--- a/src/fabric_rpc.erl
+++ b/src/fabric_rpc.erl
@@ -48,7 +48,8 @@ changes(DbName, Options, StartSeq) ->
rexi:reply(Error)
end.
-all_docs(DbName, Options, #mrargs{keys=undefined} = Args) ->
+all_docs(DbName, Options, #mrargs{keys=undefined} = Args0) ->
+ Args = fix_skip_and_limit(Args0),
{ok, Db} = get_or_create_db(DbName, Options),
VAcc0 = #vacc{db=Db},
couch_mrview:query_all_docs(Db, Args, fun view_cb/2, VAcc0).