couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject git commit: updated refs/heads/1843-feature-bigcouch to ea5f007
Date Mon, 23 Dec 2013 23:17:50 GMT
Updated Branches:
  refs/heads/1843-feature-bigcouch da8caa17e -> ea5f00731


This ejson_body requirement is tedious and pervasive.


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

Branch: refs/heads/1843-feature-bigcouch
Commit: ea5f0073163ae65e2886db1bb48b24426b78b3d7
Parents: da8caa1
Author: Robert Newson <rnewson@apache.org>
Authored: Mon Dec 23 23:09:28 2013 +0000
Committer: Robert Newson <rnewson@apache.org>
Committed: Mon Dec 23 23:17:11 2013 +0000

----------------------------------------------------------------------
 src/ddoc_cache/src/ddoc_cache.erl        | 2 +-
 src/ddoc_cache/src/ddoc_cache_opener.erl | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/ea5f0073/src/ddoc_cache/src/ddoc_cache.erl
----------------------------------------------------------------------
diff --git a/src/ddoc_cache/src/ddoc_cache.erl b/src/ddoc_cache/src/ddoc_cache.erl
index 685a368..e862667 100644
--- a/src/ddoc_cache/src/ddoc_cache.erl
+++ b/src/ddoc_cache/src/ddoc_cache.erl
@@ -78,4 +78,4 @@ recover({DbName, validation_funs}) ->
     end, DDocs),
     {ok, Funs};
 recover({DbName, DDocId}) ->
-    fabric:open_doc(DbName, DDocId, []).
+    fabric:open_doc(DbName, DDocId, [ejson_body]).

http://git-wip-us.apache.org/repos/asf/couchdb/blob/ea5f0073/src/ddoc_cache/src/ddoc_cache_opener.erl
----------------------------------------------------------------------
diff --git a/src/ddoc_cache/src/ddoc_cache_opener.erl b/src/ddoc_cache/src/ddoc_cache_opener.erl
index e7abc9d..68b9127 100644
--- a/src/ddoc_cache/src/ddoc_cache_opener.erl
+++ b/src/ddoc_cache/src/ddoc_cache_opener.erl
@@ -178,7 +178,7 @@ open_ddoc({DbName, validation_funs}=Key) ->
     ok = ets_lru:insert(ddoc_cache_lru, {DbName, validation_funs}, Funs),
     exit({open_ok, Key, {ok, Funs}});
 open_ddoc({DbName, DDocId}=Key) ->
-    try fabric:open_doc(DbName, DDocId, []) of
+    try fabric:open_doc(DbName, DDocId, [ejson_body]) of
         {ok, Doc} ->
             ok = ets_lru:insert(ddoc_cache_lru, {DbName, DDocId}, Doc),
             exit({open_ok, Key, {ok, Doc}});


Mime
View raw message