diff options
author | Damien F. Katz <damien@apache.org> | 2008-10-02 16:06:10 +0000 |
---|---|---|
committer | Damien F. Katz <damien@apache.org> | 2008-10-02 16:06:10 +0000 |
commit | 82d31aa2671ac3ffc7b1dbf4c6c9b6c38f0d9f2e (patch) | |
tree | 8dcc9c8b2100189ee41c4a657b90335a3c68f8fe /src/couchdb/couch_db.hrl | |
parent | f825477e9d9502d618aa1cb19bdced4df941e872 (diff) |
HTTPd refactoring. Moved most code out of couch_httpd into associated modules (couch_httpd_view, couch_httpd_db, couch_httpd_misc_handlers). Also a fix to removed previous doc_by_seq index entries on compaction retry.
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@701173 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_db.hrl')
-rw-r--r-- | src/couchdb/couch_db.hrl | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/src/couchdb/couch_db.hrl b/src/couchdb/couch_db.hrl index f4533146..f5f4a0f1 100644 --- a/src/couchdb/couch_db.hrl +++ b/src/couchdb/couch_db.hrl @@ -52,6 +52,14 @@ rev_tree = [] }). +-record(httpd, + {mochi_req, + method, + path_parts, + db_url_handlers + }). + + -record(doc, { id = <<"">>, @@ -103,7 +111,22 @@ filepath }). - + +-record(view_query_args, { + start_key = nil, + end_key = {}, + count = 10000000000, % a huge huge default number. Picked so we don't have + % to do different logic for when there is no count + % limit + update = true, + direction = fwd, + start_docid = nil, + end_docid = {}, + skip = 0, + group_level = 0, + reduce = true +}). + % small value used in revision trees to indicate the revision isn't stored -define(REV_MISSING, []). |