Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B0309200C65 for ; Sat, 15 Apr 2017 00:14:25 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id AEA9D160BA3; Fri, 14 Apr 2017 22:14:25 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0243D160B8C for ; Sat, 15 Apr 2017 00:14:24 +0200 (CEST) Received: (qmail 77566 invoked by uid 500); 14 Apr 2017 22:14:24 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 77554 invoked by uid 99); 14 Apr 2017 22:14:24 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Apr 2017 22:14:24 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 0C8A580D58; Fri, 14 Apr 2017 22:14:22 +0000 (UTC) Date: Fri, 14 Apr 2017 22:14:22 +0000 To: "commits@couchdb.apache.org" Subject: [couchdb] branch 8409-view-lru updated: squash MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <149220806276.24099.699506168938415005@gitbox.apache.org> From: bbastian@apache.org Reply-To: "commits@couchdb.apache.org" X-Git-Host: gitbox.apache.org X-Git-Repo: couchdb X-Git-Refname: refs/heads/8409-view-lru X-Git-Reftype: branch X-Git-Oldrev: dfee786cc1fab950adbe0497a35fbeea66e0286d X-Git-Newrev: e4b76dab1bdd33d78907d06eaecc7c5126d2792d X-Git-Rev: e4b76dab1bdd33d78907d06eaecc7c5126d2792d X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.3.dev Auto-Submitted: auto-generated archived-at: Fri, 14 Apr 2017 22:14:25 -0000 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 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" '].