You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ch...@apache.org on 2013/12/24 20:51:17 UTC

git commit: updated refs/heads/1843-feature-bigcouch-fix-views to 124d085

Updated Branches:
  refs/heads/1843-feature-bigcouch-fix-views cbdb06ffb -> 124d0857f (forced update)


Load DDocs with option ejson_body


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

Branch: refs/heads/1843-feature-bigcouch-fix-views
Commit: 124d0857f68f0991e7776b2e90ae39bda9ccb144
Parents: da8caa1
Author: Russell Branca <ch...@gmail.com>
Authored: Tue Dec 24 11:49:32 2013 -0800
Committer: Russell Branca <ch...@gmail.com>
Committed: Tue Dec 24 11:51:02 2013 -0800

----------------------------------------------------------------------
 src/ddoc_cache/src/ddoc_cache_opener.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/124d0857/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}});