fix _changes
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/c55de565 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/c55de565 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/c55de565 Branch: refs/heads/1843-feature-bigcouch Commit: c55de565b097dcc325fe2d4bbf24a2d89db900aa Parents: 5d645e0 Author: Robert Newson <[email protected]> Authored: Mon Dec 23 22:51:13 2013 +0000 Committer: Robert Newson <[email protected]> Committed: Tue Jan 28 15:52:27 2014 +0000 ---------------------------------------------------------------------- src/fabric/src/fabric_rpc.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/c55de565/src/fabric/src/fabric_rpc.erl ---------------------------------------------------------------------- diff --git a/src/fabric/src/fabric_rpc.erl b/src/fabric/src/fabric_rpc.erl index 9ca4f62..afcf0e5 100644 --- a/src/fabric/src/fabric_rpc.erl +++ b/src/fabric/src/fabric_rpc.erl @@ -430,7 +430,7 @@ changes_enumerator(DocInfo, {Db, _Seq, Args, Options}) -> } = Args, Conflicts = proplists:get_value(conflicts, Options, false), #doc_info{high_seq=Seq, revs=[#rev_info{deleted=Del}|_]} = DocInfo, - case [X || X <- couch_changes:filter(DocInfo, Acc), X /= null] of + case [X || X <- couch_changes:filter(Db, DocInfo, Acc), X /= null] of [] -> {ok, {Db, Seq, Args, Options}}; Results ->
