You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2023/07/08 08:12:42 UTC
[couchdb] 02/36: feat(access): add access to couch_db internal records
This is an automated email from the ASF dual-hosted git repository.
jan pushed a commit to branch rebase/access-2023
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 729f724acd5208e3bb1dff40d0a69a7e01af83d8
Author: Jan Lehnardt <ja...@apache.org>
AuthorDate: Fri Jun 24 15:42:29 2022 +0200
feat(access): add access to couch_db internal records
---
src/couch/include/couch_db.hrl | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/src/couch/include/couch_db.hrl b/src/couch/include/couch_db.hrl
index 9c1df21b6..3ce2c78d0 100644
--- a/src/couch/include/couch_db.hrl
+++ b/src/couch/include/couch_db.hrl
@@ -67,7 +67,8 @@
-record(doc_info, {
id = <<"">>,
high_seq = 0,
- revs = [] % rev_info
+ revs = [], % rev_info
+ access = []
}).
-record(size_info, {
@@ -80,7 +81,8 @@
update_seq = 0,
deleted = false,
rev_tree = [],
- sizes = #size_info{}
+ sizes = #size_info{},
+ access = []
}).
-record(httpd, {
@@ -124,7 +126,8 @@
% key/value tuple of meta information, provided when using special options:
% couch_db:open_doc(Db, Id, Options).
- meta = []
+ meta = [],
+ access = []
}).
@@ -210,7 +213,8 @@
ptr,
seq,
sizes = #size_info{},
- atts = []
+ atts = [],
+ access = []
}).
-record (fabric_changes_acc, {