You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2014/01/17 22:37:44 UTC
[50/50] git commit: squash! @davisp trolled me by changing the
default value of keys
squash! @davisp trolled me by changing the default value of keys
Project: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/commit/a1b8b070
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/tree/a1b8b070
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/diff/a1b8b070
Branch: refs/heads/import
Commit: a1b8b070ed750542473683d9e92d34b6166bb806
Parents: 0c4e11d
Author: Robert Newson <rn...@apache.org>
Authored: Mon Dec 23 17:34:36 2013 +0000
Committer: Paul J. Davis <pa...@gmail.com>
Committed: Fri Jan 17 13:36:33 2014 -0800
----------------------------------------------------------------------
src/chttpd_db.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/a1b8b070/src/chttpd_db.erl
----------------------------------------------------------------------
diff --git a/src/chttpd_db.erl b/src/chttpd_db.erl
index de38d40..de99828 100644
--- a/src/chttpd_db.erl
+++ b/src/chttpd_db.erl
@@ -365,7 +365,7 @@ db_req(#httpd{method='GET',path_parts=[_,<<"_all_docs">>]}=Req, Db) ->
Keys when is_list(Keys) ->
all_docs_view(Req, Db, Keys);
nil ->
- all_docs_view(Req, Db, nil);
+ all_docs_view(Req, Db, undefined);
_ ->
throw({bad_request, "`keys` parameter must be an array."})
end;