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 2018/07/18 12:15:21 UTC

[couchdb] 01/02: full removal of default_props

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

rnewson pushed a commit to branch user-partitioned-dbs-wip
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit ef81c0c03ebfb7b30321d1dac948b94dda2a4eca
Author: Robert Newson <rn...@apache.org>
AuthorDate: Wed Jul 18 12:37:26 2018 +0100

    full removal of default_props
---
 src/couch/src/couch_db_updater.erl | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/couch/src/couch_db_updater.erl b/src/couch/src/couch_db_updater.erl
index 0713582..59f4ee5 100644
--- a/src/couch/src/couch_db_updater.erl
+++ b/src/couch/src/couch_db_updater.erl
@@ -28,8 +28,7 @@ init({Engine, DbName, FilePath, Options0}) ->
     update_idle_limit_from_config(),
     DefaultSecObj = default_security_object(DbName),
     Partitioned = lists:member(partitioned, Options0),
-    Options1 = [{default_security_object, DefaultSecObj} | Options0],
-    Options = [{default_props, [{partitioned, Partitioned}]} | Options1],
+    Options = [{default_security_object, DefaultSecObj} | Options0],
     try
         {ok, EngineState} = couch_db_engine:init(Engine, FilePath, Options),
         Db = init_db(DbName, FilePath, EngineState, Options),