You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by bb...@apache.org on 2017/04/14 22:14:22 UTC

[couchdb] branch 8409-view-lru updated: squash

This is an automated email from the ASF dual-hosted git repository.

bbastian pushed a commit to branch 8409-view-lru
in repository https://gitbox.apache.org/repos/asf/couchdb.git

The following commit(s) were added to refs/heads/8409-view-lru by this push:
       new  e4b76da   squash
e4b76da is described below

commit e4b76dab1bdd33d78907d06eaecc7c5126d2792d
Author: Benjamin Bastian <be...@gmail.com>
AuthorDate: Fri Apr 14 15:12:51 2017 -0700

    squash
---
 src/couch_index/src/couch_index_server.erl | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/couch_index/src/couch_index_server.erl b/src/couch_index/src/couch_index_server.erl
index d4f35cb..7ec91c3 100644
--- a/src/couch_index/src/couch_index_server.erl
+++ b/src/couch_index/src/couch_index_server.erl
@@ -285,10 +285,10 @@ code_change(_OldVsn, State, _Extra) ->
     {ok, State}.
 
 
-handle_config_change("couchdb", "index_dir", RootDir, _, State) ->
-    {ok, State#st{root_dir=RootDir}};
-handle_config_change("couchdb", "view_index_dir", RootDir, _, State) ->
-    {ok, State#st{root_dir=RootDir}};
+handle_config_change("couchdb", "index_dir", RootDir, _, #st{root_dir=RootDir}=State) ->
+    {ok, State};
+handle_config_change("couchdb", "view_index_dir", RootDir, _, #st{root_dir=RootDir}=State) ->
+    {ok, State};
 handle_config_change("couchdb", "index_dir", _, _, _) ->
     exit(whereis(couch_index_server), config_change),
     remove_handler;

-- 
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <co...@couchdb.apache.org>'].