You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2014/08/26 14:03:00 UTC

couch-mrview commit: updated refs/heads/windsor-merge to 6831348

Repository: couchdb-couch-mrview
Updated Branches:
  refs/heads/windsor-merge db8858643 -> 68313488d


squash! Add an API to see if the index file exists


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/commit/68313488
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/tree/68313488
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/diff/68313488

Branch: refs/heads/windsor-merge
Commit: 68313488d2469c24e17c3214cdb4dcaa8f295a06
Parents: db88586
Author: Robert Newson <rn...@apache.org>
Authored: Tue Aug 26 12:49:08 2014 +0100
Committer: Robert Newson <rn...@apache.org>
Committed: Tue Aug 26 13:02:40 2014 +0100

----------------------------------------------------------------------
 src/couch_mrview_index.erl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/blob/68313488/src/couch_mrview_index.erl
----------------------------------------------------------------------
diff --git a/src/couch_mrview_index.erl b/src/couch_mrview_index.erl
index ab30b7d..a269a8d 100644
--- a/src/couch_mrview_index.erl
+++ b/src/couch_mrview_index.erl
@@ -17,7 +17,7 @@
 -export([init/2, open/2, close/1, reset/1, delete/1]).
 -export([start_update/3, purge/4, process_doc/3, finish_update/1, commit/1]).
 -export([compact/3, swap_compacted/2]).
--export([check_index_file/1]).
+-export([index_file_exists/1]).
 
 -include_lib("couch/include/couch_db.hrl").
 -include_lib("couch_mrview/include/couch_mrview.hrl").
@@ -172,7 +172,7 @@ swap_compacted(OldState, NewState) ->
     couch_mrview_compactor:swap_compacted(OldState, NewState).
 
 
-check_index_file(State) ->
+index_file_exists(State) ->
     #mrst{
         db_name=DbName,
         sig=Sig