couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [34/50] couch commit: updated refs/heads/import to c3116d7
Date Tue, 04 Feb 2014 23:06:47 GMT
[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 <paul.joseph.davis@gmail.com>
Authored: Wed Mar 13 12:57:16 2013 -0500
Committer: Paul J. Davis <paul.joseph.davis@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.
 


Mime
View raw message