couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chewbra...@apache.org
Subject [22/50] couch commit: updated refs/heads/2080-port-cors-to-chttpd to 529339b
Date Tue, 02 Jun 2015 19:35:53 GMT
Rename "shard_db" option to "shards_db" and "node_db" one to "nodes_db"

COUCHDB-2628


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

Branch: refs/heads/2080-port-cors-to-chttpd
Commit: b24a63279868a23becdef306fc6e2bad4aeb5006
Parents: b6b887d
Author: Alexander Shorin <kxepal@apache.org>
Authored: Thu Feb 26 21:53:59 2015 +0300
Committer: Alexander Shorin <kxepal@apache.org>
Committed: Thu Feb 26 21:55:43 2015 +0300

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


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/b24a6327/src/couch_server.erl
----------------------------------------------------------------------
diff --git a/src/couch_server.erl b/src/couch_server.erl
index 34ca3d6..228edc3 100644
--- a/src/couch_server.erl
+++ b/src/couch_server.erl
@@ -119,8 +119,8 @@ delete(DbName, Options) ->
 maybe_add_sys_db_callbacks(DbName, Options) when is_binary(DbName) ->
     maybe_add_sys_db_callbacks(?b2l(DbName), Options);
 maybe_add_sys_db_callbacks(DbName, Options) ->
-    DbsDbName = config:get("mem3", "shard_db", "_dbs"),
-    NodesDbName = config:get("mem3", "node_db", "_nodes"),
+    DbsDbName = config:get("mem3", "shards_db", "_dbs"),
+    NodesDbName = config:get("mem3", "nodes_db", "_nodes"),
     IsReplicatorDb = DbName == config:get("replicator", "db", "_replicator") orelse
 	path_ends_with(DbName, <<"_replicator">>),
     IsUsersDb = DbName ==config:get("couch_httpd_auth", "authentication_db", "_users") orelse


Mime
View raw message