couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [05/50] chttpd commit: updated refs/heads/master to 58020ab
Date Thu, 28 Aug 2014 11:59:28 GMT
Give fabric a string, not a number


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

Branch: refs/heads/master
Commit: 4e02118c6a0195361455f88faa80953d548ab3a9
Parents: c90a4c0
Author: Adam Kocoloski <adam@cloudant.com>
Authored: Wed Apr 10 23:45:14 2013 -0400
Committer: Robert Newson <rnewson@apache.org>
Committed: Tue Jul 29 17:12:57 2014 +0100

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


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/4e02118c/src/chttpd_db.erl
----------------------------------------------------------------------
diff --git a/src/chttpd_db.erl b/src/chttpd_db.erl
index 18a1078..86653f9 100644
--- a/src/chttpd_db.erl
+++ b/src/chttpd_db.erl
@@ -303,7 +303,7 @@ db_req(#httpd{method='POST',path_parts=[_,<<"_bulk_docs">>],
user_ctx=Ctx}=Req,
     DocsArray = couch_util:get_value(<<"docs">>, JsonProps),
     W = case couch_util:get_value(<<"w">>, JsonProps) of
     Value when is_integer(Value) ->
-        Value;
+        integer_to_list(Value);
     _ ->
         couch_httpd:qs_value(Req, "w", integer_to_list(mem3:quorum(Db)))
     end,


Mime
View raw message