couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chewbra...@apache.org
Subject [02/22] couch-mrview commit: updated refs/heads/1963-eunit-bigcouch to cc9c436
Date Thu, 28 Aug 2014 17:27:24 GMT
Expose language and views from #mrst{} records


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

Branch: refs/heads/1963-eunit-bigcouch
Commit: a6dfc8c402a7bc3bc3b4bc919597b4ec33146b91
Parents: 911e5e9
Author: Paul J. Davis <paul.joseph.davis@gmail.com>
Authored: Sun Aug 17 12:37:08 2014 -0500
Committer: Paul J. Davis <paul.joseph.davis@gmail.com>
Committed: Sun Aug 17 12:37:08 2014 -0500

----------------------------------------------------------------------
 src/couch_mrview_index.erl | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/blob/a6dfc8c4/src/couch_mrview_index.erl
----------------------------------------------------------------------
diff --git a/src/couch_mrview_index.erl b/src/couch_mrview_index.erl
index 5baee7c..5cebcf1 100644
--- a/src/couch_mrview_index.erl
+++ b/src/couch_mrview_index.erl
@@ -40,6 +40,10 @@ get(Property, State) ->
             LocalSeq = couch_util:get_value(<<"local_seq">>, Opts, false),
             if IncDesign -> [include_design]; true -> [] end
                 ++ if LocalSeq -> [local_seq]; true -> [] end;
+        language ->
+            State#mrst.language;
+        views ->
+            State#mrst.views;
         info ->
             #mrst{
                 fd = Fd,


Mime
View raw message