summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul J. Davis <paul.joseph.davis@gmail.com>2018-04-26 11:36:49 -0500
committerPaul J. Davis <paul.joseph.davis@gmail.com>2018-05-23 13:29:12 -0500
commit127bfdad0cf856c3bb8b772ecb35eb0a7e50df00 (patch)
treefc56da340c4675b51fbabedff04bf011263334b7
parent6d13153d300d924bd45926fd2175e0400dd71976 (diff)
downloadcouchdb-127bfdad0cf856c3bb8b772ecb35eb0a7e50df00.tar.gz
Fix bug during purge
-rw-r--r--src/couch/src/couch_db_updater.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couch/src/couch_db_updater.erl b/src/couch/src/couch_db_updater.erl
index a2de3bc60..6a30d6549 100644
--- a/src/couch/src/couch_db_updater.erl
+++ b/src/couch/src/couch_db_updater.erl
@@ -128,7 +128,7 @@ handle_call({purge_docs, IdRevs}, _From, Db) ->
% If we purged every #leaf{} in the doc record
% then we're removing it completely from the
% database.
- FDIAcc;
+ {FDIAcc, SeqAcc0};
_ ->
% Its possible to purge the #leaf{} that contains
% the update_seq where this doc sits in the update_seq