FAQ
support validate_doc_read feature.


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

Branch: refs/heads/1994-merge-rcouch
Commit: d53b3e0d58d7c99bdbd1401164e6d9d1282f0abb
Parents: 36ea4e0
Author: Benoit Chesneau <bchesneau@gmail.com>
Authored: Sun Feb 16 01:20:17 2014 +0100
Committer: Benoit Chesneau <bchesneau@gmail.com>
Committed: Sun Feb 16 01:20:17 2014 +0100

----------------------------------------------------------------------
  share/server/loop.js | 5 +++--
  test/etap/200-view-group-no-db-leaks.t | 1 +
  test/etap/201-view-group-shutdown.t | 1 +
  3 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/d53b3e0d/share/server/loop.js
----------------------------------------------------------------------
diff --git a/share/server/loop.js b/share/server/loop.js
index 644d89b..8ff51a8 100644
--- a/share/server/loop.js
+++ b/share/server/loop.js
@@ -60,9 +60,10 @@ var DDoc = (function() {
      "lists" : Render.list,
      "shows" : Render.show,
      "filters" : Filter.filter,
- "views" : Filter.filter_view,
+ "views" : Filter.filter_view,
      "updates" : Render.update,
- "validate_doc_update" : Validate.validate
+ "validate_doc_update" : Validate.validate,
+ "validate_doc_read" : Validate.validate
    };
    var ddocs = {};
    return {

http://git-wip-us.apache.org/repos/asf/couchdb/blob/d53b3e0d/test/etap/200-view-group-no-db-leaks.t
----------------------------------------------------------------------
diff --git a/test/etap/200-view-group-no-db-leaks.t b/test/etap/200-view-group-no-db-leaks.t
index 5e4f13a..635e313 100755
--- a/test/etap/200-view-group-no-db-leaks.t
+++ b/test/etap/200-view-group-no-db-leaks.t
@@ -36,6 +36,7 @@
      name,
      filepath,
      validate_doc_funs = [],
+ validate_doc_read_funs = [],
      security = [],
      security_ptr = nil,
      user_ctx = #user_ctx{},

http://git-wip-us.apache.org/repos/asf/couchdb/blob/d53b3e0d/test/etap/201-view-group-shutdown.t
----------------------------------------------------------------------
diff --git a/test/etap/201-view-group-shutdown.t b/test/etap/201-view-group-shutdown.t
index 666cdf3..959b199 100755
--- a/test/etap/201-view-group-shutdown.t
+++ b/test/etap/201-view-group-shutdown.t
@@ -36,6 +36,7 @@
      name,
      filepath,
      validate_doc_funs = [],
+ validate_doc_read_funs = [],
      security = [],
      security_ptr = nil,
      user_ctx = #user_ctx{},

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 2 | next ›
Discussion Overview
groupcommits @
categoriescouchdb
postedFeb 16, '14 at 12:21a
activeFeb 16, '14 at 12:21a
posts2
users1
websitecouchdb.apache.org
irc#couchdb

1 user in discussion

Benoitc: 2 posts

People

Translate

site design / logo © 2021 Grokbase