summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul J. Davis <paul.joseph.davis@gmail.com>2018-04-26 11:36:49 -0500
committerjiangph <jiangph@cn.ibm.com>2018-08-21 09:11:30 +0800
commitda2e22a2799f7426fa49fd1d5c3646a465c54b44 (patch)
treef718baf694daca57029c4de632708c0e00a0c693
parent3852a00e85f9f7ffac817dac704a04e74e34bdee (diff)
downloadcouchdb-da2e22a2799f7426fa49fd1d5c3646a465c54b44.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 acb9ec1c9..40e836a4c 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