couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kocol...@apache.org
Subject svn commit: r807354 - /couchdb/trunk/src/couchdb/couch_rep_reader.erl
Date Mon, 24 Aug 2009 19:44:49 GMT
Author: kocolosk
Date: Mon Aug 24 19:44:48 2009
New Revision: 807354

URL: http://svn.apache.org/viewvc?rev=807354&view=rev
Log:
overlooked a function clause

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

Modified: couchdb/trunk/src/couchdb/couch_rep_reader.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_rep_reader.erl?rev=807354&r1=807353&r2=807354&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_rep_reader.erl (original)
+++ couchdb/trunk/src/couchdb/couch_rep_reader.erl Mon Aug 24 19:44:48 2009
@@ -174,6 +174,8 @@
 calculate_new_high_seq(#state{requested_seqs=[Req|_], opened_seqs=[Open|_]})
         when Req < Open ->
     0;
+calculate_new_high_seq(#state{opened_seqs=[]}) ->
+    0;
 calculate_new_high_seq(State) ->
     hd(State#state.opened_seqs).
 



Mime
View raw message