You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2014/08/25 19:00:26 UTC
couch commit: updated refs/heads/windsor-merge to 2082f58
Repository: couchdb-couch
Updated Branches:
refs/heads/windsor-merge b676eddb3 -> 2082f5845
squash! Squash to data size merge
Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/2082f584
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/2082f584
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/2082f584
Branch: refs/heads/windsor-merge
Commit: 2082f584512187d6fd938193cd91d8157a623fa9
Parents: b676edd
Author: Robert Newson <rn...@apache.org>
Authored: Mon Aug 25 18:00:12 2014 +0100
Committer: Robert Newson <rn...@apache.org>
Committed: Mon Aug 25 18:00:12 2014 +0100
----------------------------------------------------------------------
src/couch_db_updater.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/2082f584/src/couch_db_updater.erl
----------------------------------------------------------------------
diff --git a/src/couch_db_updater.erl b/src/couch_db_updater.erl
index e1af0b8..d18463b 100644
--- a/src/couch_db_updater.erl
+++ b/src/couch_db_updater.erl
@@ -1043,7 +1043,7 @@ copy_docs(Db, #db{fd = DestFd} = NewDb, MixedInfos, Retry) ->
{Body, AttInfos} = copy_doc_attachments(Db, Sp, DestFd),
SummaryChunk = make_doc_summary(NewDb, {Body, AttInfos}),
ExternalSize = ?term_size(SummaryChunk),
- {ok, Pos, SummarySize} = couch_file:append_raw_cunk(
+ {ok, Pos, SummarySize} = couch_file:append_raw_chunk(
DestFd, SummaryChunk),
AttSizes = [{element(3,A), element(4,A)} || A <- AttInfos],
NewLeaf = Leaf#leaf{