fix _changes

Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/commit/5518feaf
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/tree/5518feaf
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/diff/5518feaf

Branch: refs/heads/import
Commit: 5518feafa32ec4e943b44107c168487eda83739e
Parents: 76bcc2e
Author: Robert Newson <[email protected]>
Authored: Mon Dec 23 22:51:13 2013 +0000
Committer: Paul J. Davis <[email protected]>
Committed: Fri Jan 17 13:49:42 2014 -0800

----------------------------------------------------------------------
 src/fabric_rpc.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fabric/blob/5518feaf/src/fabric_rpc.erl
----------------------------------------------------------------------
diff --git a/src/fabric_rpc.erl b/src/fabric_rpc.erl
index 9ca4f62..afcf0e5 100644
--- a/src/fabric_rpc.erl
+++ b/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 ->

Reply via email to