You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2014/08/22 12:04:56 UTC

couch-index commit: updated refs/heads/windsor-merge to 9e638f6

Repository: couchdb-couch-index
Updated Branches:
  refs/heads/windsor-merge 6a5e4860e -> 9e638f684


Use ejson_body when opening design documents


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

Branch: refs/heads/windsor-merge
Commit: 9e638f6848c197e942c8f59eed4d61add5d150d1
Parents: 6a5e486
Author: Paul J. Davis <pa...@gmail.com>
Authored: Fri Aug 22 05:04:49 2014 -0500
Committer: Paul J. Davis <pa...@gmail.com>
Committed: Fri Aug 22 05:04:49 2014 -0500

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


http://git-wip-us.apache.org/repos/asf/couchdb-couch-index/blob/9e638f68/src/couch_index_server.erl
----------------------------------------------------------------------
diff --git a/src/couch_index_server.erl b/src/couch_index_server.erl
index 146ed39..8fe4b18 100644
--- a/src/couch_index_server.erl
+++ b/src/couch_index_server.erl
@@ -65,7 +65,7 @@ validate(DbName, DDoc) ->
 
 get_index(Module, <<"shards/", _/binary>>=DbName, DDoc) ->
     {Pid, Ref} = spawn_monitor(fun() ->
-        exit(fabric:open_doc(mem3:dbname(DbName), DDoc, []))
+        exit(fabric:open_doc(mem3:dbname(DbName), DDoc, [ejson_body]))
     end),
     receive {'DOWN', Ref, process, Pid, {ok, Doc}} ->
         get_index(Module, DbName, Doc, nil);