You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by be...@apache.org on 2014/02/10 21:05:27 UTC

[27/50] couch commit: updated refs/remotes/origin/import to 09c6556

Remove reference to tally


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/f37ad2b1
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/f37ad2b1
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/f37ad2b1

Branch: refs/remotes/origin/import
Commit: f37ad2b1b65e50c18064b54f7e13f6dc79bfc954
Parents: 7474dfe
Author: Paul J. Davis <pa...@gmail.com>
Authored: Mon Mar 11 17:52:46 2013 -0500
Committer: Paul J. Davis <pa...@gmail.com>
Committed: Tue Feb 4 17:03:25 2014 -0600

----------------------------------------------------------------------
 src/couch_db_updater.erl | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/f37ad2b1/src/couch_db_updater.erl
----------------------------------------------------------------------
diff --git a/src/couch_db_updater.erl b/src/couch_db_updater.erl
index cc48ef8..4fe6073 100644
--- a/src/couch_db_updater.erl
+++ b/src/couch_db_updater.erl
@@ -829,13 +829,11 @@ sync_header(Db, NewHeader) ->
     ok = couch_file:write_header(Fd, NewHeader),
     if After -> couch_file:sync(FilePath); true -> ok end,
 
-    Db2 = Db#db{
+    Db#db{
         header=NewHeader,
         committed_update_seq=Db#db.update_seq,
         waiting_delayed_commit=nil
-    },
-    tally:update(Db2),
-    Db2.
+    }.
 
 copy_doc_attachments(#db{fd = SrcFd} = SrcDb, SrcSp, DestFd) ->
     {ok, {BodyData, BinInfos0}} = couch_db:read_doc(SrcDb, SrcSp),