couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bbast...@apache.org
Subject [couchdb] branch 8409-view-lru updated: squash
Date Fri, 14 Apr 2017 22:14:22 GMT
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 <benjamin.bastian@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" <commits@couchdb.apache.org>'].

Mime
View raw message