You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2017/02/01 19:48:29 UTC
[1/2] couch commit: updated refs/heads/master to bbbd532
Repository: couchdb-couch
Updated Branches:
refs/heads/master c73a8831b -> bbbd53223
Remove dead code from couch_file
This code was left over after removing 8kB read-ahead
https://github.com/apache/couchdb-couch/pull/223/commits/d52a5335d930d11ade4953c8576d22f55872ff6f
COUCHDB-3284
Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/bf12a7a3
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/bf12a7a3
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/bf12a7a3
Branch: refs/heads/master
Commit: bf12a7a3336bd438493e7db1d090160f1c1a09f3
Parents: c73a883
Author: Nick Vatamaniuc <va...@apache.org>
Authored: Wed Feb 1 14:42:59 2017 -0500
Committer: Nick Vatamaniuc <va...@apache.org>
Committed: Wed Feb 1 14:42:59 2017 -0500
----------------------------------------------------------------------
src/couch_file.erl | 9 ---------
1 file changed, 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/bf12a7a3/src/couch_file.erl
----------------------------------------------------------------------
diff --git a/src/couch_file.erl b/src/couch_file.erl
index 5d11083..d40c525 100644
--- a/src/couch_file.erl
+++ b/src/couch_file.erl
@@ -587,15 +587,6 @@ find_newest_header(Fd, [{Location, Size} | LocationSizes]) ->
end.
-maybe_read_more_iolist(Buffer, DataSize, _, _)
- when DataSize =< byte_size(Buffer) ->
- <<Data:DataSize/binary, _/binary>> = Buffer,
- [Data];
-maybe_read_more_iolist(Buffer, DataSize, NextPos, File) ->
- {Missing, _} =
- read_raw_iolist_int(File, NextPos, DataSize - byte_size(Buffer)),
- [Buffer, Missing].
-
-spec read_raw_iolist_int(#file{}, Pos::non_neg_integer(), Len::non_neg_integer()) ->
{Data::iolist(), CurPos::non_neg_integer()}.
read_raw_iolist_int(Fd, {Pos, _Size}, Len) -> % 0110 UPGRADE CODE
[2/2] couch commit: updated refs/heads/master to bbbd532
Posted by va...@apache.org.
Merge branch 'couchdb-3284-remove-dead-code'
Closes #225
Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/bbbd5322
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/bbbd5322
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/bbbd5322
Branch: refs/heads/master
Commit: bbbd53223ea6c0ea8ee83971ca2763c7a70cae36
Parents: c73a883 bf12a7a
Author: Nick Vatamaniuc <va...@apache.org>
Authored: Wed Feb 1 14:48:07 2017 -0500
Committer: Nick Vatamaniuc <va...@apache.org>
Committed: Wed Feb 1 14:48:07 2017 -0500
----------------------------------------------------------------------
src/couch_file.erl | 9 ---------
1 file changed, 9 deletions(-)
----------------------------------------------------------------------