You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by bb...@apache.org on 2014/10/31 20:53:52 UTC

[37/41] couch-mrview commit: updated refs/heads/master to 28e51f3

Update expected return of couch_mrview_util:get_view


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/28e51f3f
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/tree/28e51f3f
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/diff/28e51f3f

Branch: refs/heads/master
Commit: 28e51f3f8cfefce6300243ec6ce1af35d4f454ea
Parents: e928480
Author: Benjamin Bastian <be...@gmail.com>
Authored: Thu Oct 30 13:16:44 2014 -0700
Committer: Benjamin Bastian <be...@gmail.com>
Committed: Thu Oct 30 19:28:42 2014 -0700

----------------------------------------------------------------------
 src/couch_mrview.erl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/blob/28e51f3f/src/couch_mrview.erl
----------------------------------------------------------------------
diff --git a/src/couch_mrview.erl b/src/couch_mrview.erl
index f6dec66..26d1cb2 100644
--- a/src/couch_mrview.erl
+++ b/src/couch_mrview.erl
@@ -215,8 +215,8 @@ trigger_update(Db, DDoc, UpdateSeq) ->
 
 %% get informations on a view
 get_view_info(Db, DDoc, VName) ->
-    {ok, {_, View}, _, _Args} = couch_mrview_util:get_view(Db, DDoc, VName,
-                                                          #mrargs{}),
+    {ok, {_, View, _}, _, _Args} = couch_mrview_util:get_view(Db, DDoc, VName,
+                                                              #mrargs{}),
 
     %% get the total number of rows
     {ok, TotalRows} =  couch_mrview_util:get_row_count(View),