couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chewbra...@apache.org
Subject [28/41] chttpd commit: updated refs/heads/2080-port-cors to e2c2bd7
Date Tue, 02 Jun 2015 19:31:18 GMT
Add underscore prefix for dbs database name

That's how we name system databases and there should be no exceptions.

COUCHDB-2619


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

Branch: refs/heads/2080-port-cors
Commit: 7fef96e011af4200b2a98db9e40ac23ebe21ac78
Parents: 2a583cb
Author: Alexander Shorin <kxepal@apache.org>
Authored: Thu Feb 26 00:39:45 2015 +0300
Committer: Alexander Shorin <kxepal@apache.org>
Committed: Thu Feb 26 00:39:45 2015 +0300

----------------------------------------------------------------------
 src/chttpd_misc.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/7fef96e0/src/chttpd_misc.erl
----------------------------------------------------------------------
diff --git a/src/chttpd_misc.erl b/src/chttpd_misc.erl
index c87c5bc..5708708 100644
--- a/src/chttpd_misc.erl
+++ b/src/chttpd_misc.erl
@@ -100,7 +100,7 @@ handle_sleep_req(Req) ->
 
 handle_all_dbs_req(#httpd{method='GET'}=Req) ->
     Args = couch_mrview_http:parse_params(Req, undefined),
-    ShardDbName = config:get("mem3", "shard_db", "dbs"),
+    ShardDbName = config:get("mem3", "shard_db", "_dbs"),
     %% shard_db is not sharded but mem3:shards treats it as an edge case
     %% so it can be pushed thru fabric
     {ok, Info} = fabric:get_db_info(ShardDbName),


Mime
View raw message