summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/couchdb/couch_httpd_db.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/couchdb/couch_httpd_db.erl b/src/couchdb/couch_httpd_db.erl
index 0bf9d62e..fbea4541 100644
--- a/src/couchdb/couch_httpd_db.erl
+++ b/src/couchdb/couch_httpd_db.erl
@@ -186,6 +186,7 @@ db_req(#httpd{method='GET',path_parts=[_,<<"_all_docs_by_seq">>]}=Req, Db) ->
StartKey2 = case StartKey of
nil -> 0;
<<>> -> 100000000000;
+ {} -> 100000000000;
StartKey when is_integer(StartKey) -> StartKey
end,
{ok, FoldResult} = couch_db:enum_docs_since(Db, StartKey2, Dir,