couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject mem3 commit: updated refs/heads/master to 148093f
Date Fri, 29 Aug 2014 16:23:16 GMT
Repository: couchdb-mem3
Updated Branches:
  refs/heads/master 64c0c7475 -> 148093f3c


open dbs, nodes as sys dbs


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

Branch: refs/heads/master
Commit: 148093f3cf4962e80f56c1b5d1e1859c7dd768a8
Parents: 64c0c74
Author: Robert Newson <rnewson@apache.org>
Authored: Fri Aug 29 17:23:07 2014 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Fri Aug 29 17:23:07 2014 +0100

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


http://git-wip-us.apache.org/repos/asf/couchdb-mem3/blob/148093f3/src/mem3_util.erl
----------------------------------------------------------------------
diff --git a/src/mem3_util.erl b/src/mem3_util.erl
index 9c7449d..c437d52 100644
--- a/src/mem3_util.erl
+++ b/src/mem3_util.erl
@@ -215,7 +215,7 @@ ensure_exists(DbName) when is_list(DbName) ->
     ensure_exists(list_to_binary(DbName));
 ensure_exists(DbName) ->
     Options = [{user_ctx, #user_ctx{roles=[<<"_admin">>]}}],
-    case couch_db:open(DbName, [nologifmissing | Options]) of
+    case couch_db:open(DbName, [nologifmissing, sys_db | Options]) of
     {ok, Db} ->
         {ok, Db};
     _ ->


Mime
View raw message