diff options
author | Randall Leeds <randall@apache.org> | 2011-11-09 01:16:36 -0800 |
---|---|---|
committer | Randall Leeds <randall@apache.org> | 2011-11-09 01:40:56 -0800 |
commit | 6213d064ef2467be9e6673df0fa71ffa9821ba4a (patch) | |
tree | 062a301411b61df7f566d5e9cfd9e339ab6efe9e | |
parent | 866769f34a0af3f003e817506d4e02fd58c246df (diff) | |
download | couchdb-6213d064ef2467be9e6673df0fa71ffa9821ba4a.tar.gz |
fix improper comparison on filtered changes
Regression caught by the changes js test.
-rw-r--r-- | src/couchdb/couch_changes.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_changes.erl b/src/couchdb/couch_changes.erl index ab95481c5..267f3d793 100644 --- a/src/couchdb/couch_changes.erl +++ b/src/couchdb/couch_changes.erl @@ -328,7 +328,7 @@ send_lookup_changes(FullDocInfos, StartSeq, Dir, Db, Fun, Acc0) -> end, GreaterFun = case Dir of fwd -> - fun(A, B) -> A >= B end; + fun(A, B) -> A > B end; rev -> fun(A, B) -> A =< B end end, |