You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2017/03/01 16:37:42 UTC
[08/43] couch-mrview commit: updated refs/heads/2971-count-distinct
to f7c3c24
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 <ii...@ca.ibm.com>
Authored: Tue May 24 18:33:29 2016 -0700
Committer: ILYA Khlopotov <ii...@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),