diff options
author | Damien F. Katz <damien@apache.org> | 2008-04-23 02:23:02 +0000 |
---|---|---|
committer | Damien F. Katz <damien@apache.org> | 2008-04-23 02:23:02 +0000 |
commit | 31168059f61685443a30450dc0a0623e11f1bbc6 (patch) | |
tree | 1f59f7f3b9bf386e2bf13b27a090edfc95f526c6 /src/couchdb/couch_db.erl | |
parent | 2fe9bcb876e3c4fd1554d7076f0c250fbab82472 (diff) |
Fix for replication being reset when replication a local and a remote database.
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@650729 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_db.erl')
-rw-r--r-- | src/couchdb/couch_db.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/couchdb/couch_db.erl b/src/couchdb/couch_db.erl index 96c78155..2dc863dc 100644 --- a/src/couchdb/couch_db.erl +++ b/src/couchdb/couch_db.erl @@ -833,8 +833,7 @@ update_docs_int(Db, DocsList, Options) -> docinfo_by_seq_btree = DocInfoBySeqBTree2, update_seq = NewSeq, doc_count = FullDocCount + NewDocsCount - OldCount, - doc_del_count = FullDelCount + NewDelCount - OldDelCount - }, + doc_del_count = FullDelCount + NewDelCount - OldDelCount}, case lists:member(delay_commit, Options) of true -> |