diff options
author | John Christopher Anderson <jchris@apache.org> | 2008-12-10 01:13:17 +0000 |
---|---|---|
committer | John Christopher Anderson <jchris@apache.org> | 2008-12-10 01:13:17 +0000 |
commit | 5a9321814a727e8c010bf83f05572a341d55f26a (patch) | |
tree | 91b6233a3d81f9b29a34d9653fffbde284cdfa4b /src/couchdb/couch_db.hrl | |
parent | 6bacde0d941d209f41ad3ca8921e3a596a056c06 (diff) |
view group state gen_server. thanks damien and davisp.
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@724946 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_db.hrl')
-rw-r--r-- | src/couchdb/couch_db.hrl | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/src/couchdb/couch_db.hrl b/src/couchdb/couch_db.hrl index 7bf3cb9d..6a48ab1c 100644 --- a/src/couchdb/couch_db.hrl +++ b/src/couchdb/couch_db.hrl @@ -88,7 +88,7 @@ -record(user_ctx, - {name=nil, + {name=null, roles=[] }). @@ -152,6 +152,41 @@ include_docs = false }). +-record(group, + {sig=nil, + db=nil, + fd=nil, + name, + def_lang, + views, + id_btree=nil, + current_seq=0, + purge_seq=0, + query_server=nil + }). + +-record(view, + {id_num, + map_names=[], + def, + btree=nil, + reduce_funs=[] + }). + +-record(server,{ + root_dir = [], + dbname_regexp, + max_dbs_open=100, + current_dbs_open=0, + start_time="" + }). + +-record(index_header, + {seq=0, + purge_seq=0, + id_btree_state=nil, + view_states=nil + }). % small value used in revision trees to indicate the revision isn't stored -define(REV_MISSING, []). |