couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kocol...@apache.org
Subject [08/43] couch-mrview commit: updated refs/heads/2971-count-distinct to f7c3c24
Date Wed, 01 Mar 2017 16:37:42 GMT
Fix match of a result from 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/9bafdca7
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/tree/9bafdca7
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/diff/9bafdca7

Branch: refs/heads/2971-count-distinct
Commit: 9bafdca7006f97924ecd68b9fdc87f5b3564d159
Parents: e36509b
Author: ILYA Khlopotov <iilyak@ca.ibm.com>
Authored: Tue May 24 18:33:29 2016 -0700
Committer: ILYA Khlopotov <iilyak@ca.ibm.com>
Committed: Tue May 24 18:33:29 2016 -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/9bafdca7/src/couch_mrview.erl
----------------------------------------------------------------------
diff --git a/src/couch_mrview.erl b/src/couch_mrview.erl
index 3d06a1e..20eb4be 100644
--- a/src/couch_mrview.erl
+++ b/src/couch_mrview.erl
@@ -297,8 +297,8 @@ count_view_changes_since(Db, DDoc, VName, SinceSeq) ->
 
 count_view_changes_since(Db, DDoc, VName, SinceSeq, Options) ->
     Args0 = make_view_changes_args(Options),
-    {ok, {_, View}, _, Args} = couch_mrview_util:get_view(Db, DDoc, VName,
-                                                          Args0),
+    {ok, {_Type, View, _Ref}, _, Args} = couch_mrview_util:get_view(
+        Db, DDoc, VName, Args0),
     case View#mrview.seq_indexed of
         true ->
             OptList = make_view_changes_opts(SinceSeq, Options, Args),


Mime
View raw message