couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r1054394 - /couchdb/trunk/src/couchdb/couch_stream.erl
Date Sun, 02 Jan 2011 12:37:05 GMT
Author: fdmanana
Date: Sun Jan  2 12:37:05 2011
New Revision: 1054394

URL: http://svn.apache.org/viewvc?rev=1054394&view=rev
Log:
Removed more 0.9 file format compatibility code

This is no longer needed and was left by mistake

Modified:
    couchdb/trunk/src/couchdb/couch_stream.erl

Modified: couchdb/trunk/src/couchdb/couch_stream.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_stream.erl?rev=1054394&r1=1054393&r2=1054394&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_stream.erl (original)
+++ couchdb/trunk/src/couchdb/couch_stream.erl Sun Jan  2 12:37:05 2011
@@ -13,17 +13,6 @@
 -module(couch_stream).
 -behaviour(gen_server).
 
-
--define(FILE_POINTER_BYTES, 8).
--define(FILE_POINTER_BITS, 8*(?FILE_POINTER_BYTES)).
-
--define(STREAM_OFFSET_BYTES, 4).
--define(STREAM_OFFSET_BITS, 8*(?STREAM_OFFSET_BYTES)).
-
--define(HUGE_CHUNK, 1000000000). % Huge chuck size when reading all in one go
-
--define(DEFAULT_STREAM_CHUNK, 16#00100000). % 1 meg chunks when streaming data
-
 % public API
 -export([open/1, open/3, close/1]).
 -export([foldl/4, foldl/5, foldl_decode/6, range_foldl/6]).



Mime
View raw message