couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject chttpd commit: updated refs/heads/2655-r-met to b408ce5
Date Thu, 02 Apr 2015 10:47:02 GMT
Repository: couchdb-chttpd
Updated Branches:
  refs/heads/2655-r-met [created] b408ce514


Accept is_r_met=true query parameter

COUCHDB-2655


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

Branch: refs/heads/2655-r-met
Commit: b408ce514627a83d8b8b4f66ac07d951b608964e
Parents: c6a5cdd
Author: Robert Newson <rnewson@apache.org>
Authored: Thu Apr 2 11:46:35 2015 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Thu Apr 2 11:46:35 2015 +0100

----------------------------------------------------------------------
 src/chttpd_db.erl | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/b408ce51/src/chttpd_db.erl
----------------------------------------------------------------------
diff --git a/src/chttpd_db.erl b/src/chttpd_db.erl
index ab0b8b0..744ba44 100644
--- a/src/chttpd_db.erl
+++ b/src/chttpd_db.erl
@@ -1302,6 +1302,9 @@ parse_doc_query(Req) ->
         {"r", R} ->
             Options = [{r,R} | Args#doc_query_args.options],
             Args#doc_query_args{options=Options};
+        {"is_r_met", "true"} ->
+            Options = [is_r_met | Args#doc_query_args.options],
+            Args#doc_query_args{options=Options};
         {"w", W} ->
             Options = [{w,W} | Args#doc_query_args.options],
             Args#doc_query_args{options=Options};


Mime
View raw message