diff options
author | Damien F. Katz <damien@apache.org> | 2010-06-03 03:56:44 +0000 |
---|---|---|
committer | Damien F. Katz <damien@apache.org> | 2010-06-03 03:56:44 +0000 |
commit | 50e4e3bfccb863e7a4a61306b2121828509ed261 (patch) | |
tree | 8ff168d9371ec6e4b9f5789c69ae6573023bf50c /src/couchdb/couch_rep_writer.erl | |
parent | 9807cda46b01f31bc77025c34a8b7f4275be6563 (diff) |
More work to allow for streaming attachment replication.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@950865 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_rep_writer.erl')
-rw-r--r-- | src/couchdb/couch_rep_writer.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_rep_writer.erl b/src/couchdb/couch_rep_writer.erl index 3ab39797..3a337255 100644 --- a/src/couchdb/couch_rep_writer.erl +++ b/src/couchdb/couch_rep_writer.erl @@ -94,7 +94,7 @@ write_multi_part_doc(#http_db{headers=Headers} = Db, #doc{atts=Atts} = Doc) -> ) ), Boundary = couch_uuids:random(), - Len = couch_doc:len_doc_to_multi_part_stream( + {_ContentType, Len} = couch_doc:len_doc_to_multi_part_stream( Boundary, JsonBytes, Atts, true ), {ok, DataQueue} = couch_work_queue:new(1024*1024, 1000), |