couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rand...@apache.org
Subject git commit: fix bad backport in e82a0c9
Date Tue, 03 Jan 2012 18:46:41 GMT
Updated Branches:
  refs/heads/1.0.x e82a0c989 -> bca923567


fix bad backport in e82a0c9


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

Branch: refs/heads/1.0.x
Commit: bca9235672ce351fe71d838ec1c078febbc0efe1
Parents: e82a0c9
Author: Randall Leeds <randall@apache.org>
Authored: Tue Jan 3 13:46:34 2012 -0500
Committer: Randall Leeds <randall@apache.org>
Committed: Tue Jan 3 13:46:34 2012 -0500

----------------------------------------------------------------------
 src/couchdb/couch_changes.erl |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/bca92356/src/couchdb/couch_changes.erl
----------------------------------------------------------------------
diff --git a/src/couchdb/couch_changes.erl b/src/couchdb/couch_changes.erl
index 0cc284d..7e835bb 100644
--- a/src/couchdb/couch_changes.erl
+++ b/src/couchdb/couch_changes.erl
@@ -16,16 +16,16 @@
 -export([handle_changes/3]).
 
 %% @type Req -> #httpd{} | {json_req, JsonObj()}
-handle_changes(#changes_args{style=Style}=Args1, Req, Db) ->
+handle_changes(#changes_args{style=Style}=Args1, Req, Db0) ->
     Args = Args1#changes_args{filter=
-            make_filter_fun(Args1#changes_args.filter, Style, Req, Db)},
+            make_filter_fun(Args1#changes_args.filter, Style, Req, Db0)},
     Start = fun() ->
         {ok, Db} = couch_db:reopen(Db0),
-        StartSeq = case Dir of
+        StartSeq = case Args#changes_args.dir of
         rev ->
             couch_db:get_update_seq(Db);
         fwd ->
-            Since
+            Args#changes_args.since
         end,
         {Db, StartSeq}
     end,


Mime
View raw message