couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [31/50] git commit: Remove reference to tally
Date Sat, 18 Jan 2014 00:47:56 GMT
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/fcae3b2a
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/fcae3b2a
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/fcae3b2a

Branch: refs/heads/import
Commit: fcae3b2a7a24293661e4df3543a4302658b7ba65
Parents: 4471386
Author: Paul J. Davis <paul.joseph.davis@gmail.com>
Authored: Mon Mar 11 17:52:46 2013 -0500
Committer: Paul J. Davis <paul.joseph.davis@gmail.com>
Committed: Fri Jan 17 16:44:31 2014 -0800

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


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/fcae3b2a/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),


Mime
View raw message