You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2013/12/23 18:34:53 UTC

git commit: updated refs/heads/1843-feature-bigcouch to d979167

Updated Branches:
  refs/heads/1843-feature-bigcouch 9d1e5dab1 -> d9791677b


squash! @davisp trolled me by changing the default value of keys


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

Branch: refs/heads/1843-feature-bigcouch
Commit: d9791677b9f7e8b7f9e34f13e67be0f1b071081d
Parents: 9d1e5da
Author: Robert Newson <rn...@apache.org>
Authored: Mon Dec 23 17:34:36 2013 +0000
Committer: Robert Newson <rn...@apache.org>
Committed: Mon Dec 23 17:34:36 2013 +0000

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


http://git-wip-us.apache.org/repos/asf/couchdb/blob/d9791677/src/chttpd/src/chttpd_db.erl
----------------------------------------------------------------------
diff --git a/src/chttpd/src/chttpd_db.erl b/src/chttpd/src/chttpd_db.erl
index de38d40..de99828 100644
--- a/src/chttpd/src/chttpd_db.erl
+++ b/src/chttpd/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;