summaryrefslogtreecommitdiff
path: root/src/couchdb
diff options
context:
space:
mode:
Diffstat (limited to 'src/couchdb')
-rw-r--r--src/couchdb/couch_db.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/couchdb/couch_db.erl b/src/couchdb/couch_db.erl
index 24b55575..681bc2ab 100644
--- a/src/couchdb/couch_db.erl
+++ b/src/couchdb/couch_db.erl
@@ -669,10 +669,10 @@ count_changes_since(Db, SinceSeq) ->
SinceSeq + 1, % startkey
ok, % endkey
fun(_,_) -> true end, % groupkeys
- fun(_SeqStart, PartialReds, ok) ->
+ fun(_SeqStart, PartialReds, 0) ->
{ok, couch_btree:final_reduce(Db#db.docinfo_by_seq_btree, PartialReds)}
end,
- ok),
+ 0),
Changes.
enum_docs_since(Db, SinceSeq, Direction, InFun, Ctx) ->