diff options
author | Adam Kocoloski <kocolosk@apache.org> | 2009-08-24 19:44:48 +0000 |
---|---|---|
committer | Adam Kocoloski <kocolosk@apache.org> | 2009-08-24 19:44:48 +0000 |
commit | 4418e9b3ac689fd64abc725230e1dc3d250d6131 (patch) | |
tree | 802223b552f23927564c5d511ee84422bae16f23 /src/couchdb | |
parent | b6975afe3d132f2d66553807abd3a66017ec9912 (diff) |
overlooked a function clause
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@807354 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb')
-rw-r--r-- | src/couchdb/couch_rep_reader.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/couchdb/couch_rep_reader.erl b/src/couchdb/couch_rep_reader.erl index 735ab742..e647cf87 100644 --- a/src/couchdb/couch_rep_reader.erl +++ b/src/couchdb/couch_rep_reader.erl @@ -174,6 +174,8 @@ calculate_new_high_seq(#state{requested_seqs=[], opened_seqs=[Open|_]}) -> 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). |