You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2015/03/25 23:58:56 UTC

couch-mrview commit: updated refs/heads/master to f88eda2

Repository: couchdb-couch-mrview
Updated Branches:
  refs/heads/master df5ff56d8 -> f88eda210


Remove handlers for outdated mrview parameters

The `list` was introduced by COUCHDB-404 and becomes eventually
replaced by list functions since 0.10 release.

The `count` was suppressed by `limit` since 0.9 release.

This closes #5


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/f88eda21
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/tree/f88eda21
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/diff/f88eda21

Branch: refs/heads/master
Commit: f88eda2103c0aeb1c3510ceea9354d7db568571e
Parents: df5ff56
Author: Alexander Shorin <kx...@apache.org>
Authored: Fri Sep 19 17:23:25 2014 +0400
Committer: Alexander Shorin <kx...@apache.org>
Committed: Thu Mar 26 01:58:37 2015 +0300

----------------------------------------------------------------------
 include/couch_mrview.hrl  | 1 -
 src/couch_mrview_http.erl | 4 ----
 2 files changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/blob/f88eda21/include/couch_mrview.hrl
----------------------------------------------------------------------
diff --git a/include/couch_mrview.hrl b/include/couch_mrview.hrl
index b8ea08a..1a0cdea 100644
--- a/include/couch_mrview.hrl
+++ b/include/couch_mrview.hrl
@@ -84,7 +84,6 @@
     update_seq=false,
     conflicts,
     callback,
-    list,
     sorted = true,
     extra = []
 }).

http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/blob/f88eda21/src/couch_mrview_http.erl
----------------------------------------------------------------------
diff --git a/src/couch_mrview_http.erl b/src/couch_mrview_http.erl
index 3432d9b..99a6c2d 100644
--- a/src/couch_mrview_http.erl
+++ b/src/couch_mrview_http.erl
@@ -455,8 +455,6 @@ parse_param(Key, Val, Args) ->
             Args#mrargs{end_key_docid=couch_util:to_binary(Val)};
         "limit" ->
             Args#mrargs{limit=parse_pos_int(Val)};
-        "count" ->
-            throw({query_parse_error, <<"QS param `count` is not `limit`">>});
         "stale" when Val == "ok" orelse Val == <<"ok">> ->
             Args#mrargs{stale=ok};
         "stale" when Val == "update_after" orelse Val == <<"update_after">> ->
@@ -501,8 +499,6 @@ parse_param(Key, Val, Args) ->
             Args#mrargs{update_seq=parse_boolean(Val)};
         "conflicts" ->
             Args#mrargs{conflicts=parse_boolean(Val)};
-        "list" ->
-            Args#mrargs{list=couch_util:to_binary(Val)};
         "callback" ->
             Args#mrargs{callback=couch_util:to_binary(Val)};
         _ ->