[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/4547d2f4 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/4547d2f4 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/4547d2f4 Branch: refs/heads/import Commit: 4547d2f421c4f179f9fbf83964bd531c2c766dfd Parents: a89af58 Author: Paul J. Davis <[email protected]> Authored: Wed Mar 13 12:57:16 2013 -0500 Committer: Paul J. Davis <[email protected]> Committed: Fri Jan 17 16:44:32 2014 -0800 ---------------------------------------------------------------------- src/couch_server.erl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/4547d2f4/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.
