You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2014/02/10 21:22:47 UTC
[25/50] couch commit: updated refs/heads/import to 09c6556
[squash] to somwhere Mark the dbs db as a sys_db
Not sure where
Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/78df1c1c
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/78df1c1c
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/78df1c1c
Branch: refs/heads/import
Commit: 78df1c1cb10975a98d5acccb4948d88713648f32
Parents: 4fcb3b1
Author: Paul J. Davis <pa...@gmail.com>
Authored: Wed Mar 13 12:57:16 2013 -0500
Committer: Paul J. Davis <pa...@gmail.com>
Committed: Tue Feb 4 17:03:25 2014 -0600
----------------------------------------------------------------------
src/couch_server.erl | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/78df1c1c/src/couch_server.erl
----------------------------------------------------------------------
diff --git a/src/couch_server.erl b/src/couch_server.erl
index 3d4a1a6..80448b1 100644
--- a/src/couch_server.erl
+++ b/src/couch_server.erl
@@ -125,7 +125,12 @@ maybe_add_sys_db_callbacks(DbName, Options) ->
sys_db | Options
];
_ ->
- Options
+ case config:get("mem3", "shard_db", "dbs") of
+ DbName ->
+ [sys_db | Options];
+ _ ->
+ Options
+ end
end
end.